mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Fix a small issue with relocking write permissions
This commit is contained in:
parent
e7a1a72333
commit
31fd7f88e9
@ -2364,6 +2364,7 @@ u32 GodMode(int entrypoint) {
|
|||||||
GetDirContents(current_dir, current_path);
|
GetDirContents(current_dir, current_path);
|
||||||
} else if (switched && (pad_state & BUTTON_Y)) {
|
} else if (switched && (pad_state & BUTTON_Y)) {
|
||||||
SetWritePermissions(PERM_BASE, false);
|
SetWritePermissions(PERM_BASE, false);
|
||||||
|
last_write_perm = GetWritePermissions();
|
||||||
ClearScreenF(false, true, COLOR_STD_BG);
|
ClearScreenF(false, true, COLOR_STD_BG);
|
||||||
}
|
}
|
||||||
} else if (!switched) { // standard unswitched command set
|
} else if (!switched) { // standard unswitched command set
|
||||||
|
Loading…
x
Reference in New Issue
Block a user