kern: fix attribute checks in device unmap

This commit is contained in:
Michael Scire authored and SciresM committed 2020-07-31 14:50:52 -07:00
1 parent 058f223b97
commit 0c82709af4
1 file changed
+1 -1
@@ -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);