mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-10 07:06:34 +00:00
kern: fix attribute checks in device unmap
This commit is contained in:
parent
058f223b97
commit
0c82709af4
1 changed files with 1 additions and 1 deletions
|
@ -959,7 +959,7 @@ namespace ams::kern::board::nintendo::nx {
|
||||||
|
|
||||||
/* Walk the directory. */
|
/* Walk the directory. */
|
||||||
u64 remaining = size;
|
u64 remaining = size;
|
||||||
bool first = false;
|
bool first = true;
|
||||||
u32 attr = 0;
|
u32 attr = 0;
|
||||||
while (remaining > 0) {
|
while (remaining > 0) {
|
||||||
const size_t l0_index = (address / DeviceRegionSize);
|
const size_t l0_index = (address / DeviceRegionSize);
|
||||||
|
|
Loading…
Reference in a new issue