diff --git a/arm9/source/godmode.c b/arm9/source/godmode.c index 825a0db..d71ab4e 100644 --- a/arm9/source/godmode.c +++ b/arm9/source/godmode.c @@ -2364,6 +2364,7 @@ u32 GodMode(int entrypoint) { GetDirContents(current_dir, current_path); } else if (switched && (pad_state & BUTTON_Y)) { SetWritePermissions(PERM_BASE, false); + last_write_perm = GetWritePermissions(); ClearScreenF(false, true, COLOR_STD_BG); } } else if (!switched) { // standard unswitched command set