mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-15 03:27:49 +01:00
kern: fix attribute checks in device unmap
This commit is contained in:
parent
058f223b97
commit
0c82709af4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user