mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-30 23:12:13 +02:00
kern: fix inverted conditional in UnmapProcessCodeMemory
This commit is contained in:
parent
9c3e45a856
commit
de5341ecde
@ -908,7 +908,7 @@ namespace ams::kern {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Check if we're done. */
|
/* Check if we're done. */
|
||||||
if (dst_address + size - 1 > info.GetLastAddress()) {
|
if (dst_address + size - 1 <= info.GetLastAddress()) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user