mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-08-09 08:59:32 +02:00
kern: fix attribute checks in device unmap
This commit is contained in:
parent
f8476cc761
commit
19e2128cb8
@ -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