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);