mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-08-10 18:18:43 +00:00
kern: General system stability improvements to enhance the user's experience.
This commit is contained in:
parent
2ad9927a88
commit
583899ede3
5 changed files with 20 additions and 4 deletions
|
@ -3419,7 +3419,8 @@ namespace ams::kern {
|
|||
bool next_valid;
|
||||
size_t tot_size = 0;
|
||||
|
||||
next_valid = impl.BeginTraversal(std::addressof(next_entry), std::addressof(context), cur_address);
|
||||
cur_address = address;
|
||||
next_valid = impl.BeginTraversal(std::addressof(next_entry), std::addressof(context), cur_address);
|
||||
next_entry.block_size = (next_entry.block_size - (GetInteger(next_entry.phys_addr) & (next_entry.block_size - 1)));
|
||||
|
||||
/* Iterate, building the group. */
|
||||
|
@ -3497,7 +3498,7 @@ namespace ams::kern {
|
|||
/* Advance our physical block. */
|
||||
++pg_it;
|
||||
pg_phys_addr = GetHeapPhysicalAddress(pg_it->GetAddress());
|
||||
pg_pages = pg_it->GetNumPages();
|
||||
pg_pages = pg_it->GetNumPages();
|
||||
}
|
||||
|
||||
/* Map whatever we can. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue