diff --git a/source/channel/nand.cpp b/source/channel/nand.cpp index 7151e1b3..724795df 100644 --- a/source/channel/nand.cpp +++ b/source/channel/nand.cpp @@ -1060,14 +1060,17 @@ void Nand::Init_ISFS() void Nand::DeInit_ISFS(bool KeepPatches) { gprintf("Deinit ISFS\n"); - if(AHBRPOT_Patched() && !KeepPatches) + if(AHBRPOT_Patched()) { // Disable memory protection write16(MEM_PROT, 0); - // Do patches - MagicPatches(0); - // Enable memory protection - write16(MEM_PROT, 1); + if(!KeepPatches) + { + // Do patches + MagicPatches(0); + // Enable memory protection + write16(MEM_PROT, 1); + } } ISFS_Deinitialize(); } diff --git a/source/defines.h b/source/defines.h index 5561da64..13770768 100644 --- a/source/defines.h +++ b/source/defines.h @@ -1,12 +1,12 @@ #define APP_NAME "WiiFlow" -#define APP_VERSION "Mod 3.1" +#define APP_VERSION "Beta 4.0.1" #define APPDATA_DIR "wiiflow" #define APPDATA_DIR2 "apps/wiiflow" -#define STDEMU_DIR "/wiiflow/nandemu" -#define GAMES_DIR "%s:/wbfs" -#define HOMEBREW_DIR "%s:/apps" +#define STDEMU_DIR "/wiiflow/nandemu" +#define GAMES_DIR "%s:/wbfs" +#define HOMEBREW_DIR "%s:/apps" #define DML_DIR "%s:/games" #define CFG_FILENAME "wiiflow.ini" #define LANG_FILENAME "languages.ini"