kern: fix inverted conditional in UnmapProcessCodeMemory
This commit is contained in:
1 parent
e760a9d4b0
commit
bba99d49da
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user