1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-10 06:01:52 +00:00

kern: fix attribute checks in device unmap

This commit is contained in:
Michael Scire 2020-07-21 02:41:48 -07:00 committed by SciresM
parent 058f223b97
commit 0c82709af4

View file

@ -959,7 +959,7 @@ namespace ams::kern::board::nintendo::nx {
/* Walk the directory. */
u64 remaining = size;
bool first = false;
bool first = true;
u32 attr = 0;
while (remaining > 0) {
const size_t l0_index = (address / DeviceRegionSize);