mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
kern: fix inverted conditional in UnmapProcessCodeMemory
This commit is contained in:
parent
e760a9d4b0
commit
bba99d49da
1 changed files with 1 additions and 1 deletions
|
@ -908,7 +908,7 @@ namespace ams::kern {
|
|||
}
|
||||
|
||||
/* Check if we're done. */
|
||||
if (dst_address + size - 1 > info.GetLastAddress()) {
|
||||
if (dst_address + size - 1 <= info.GetLastAddress()) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue