From 0b4ae96eb6f43594b56e1a5686b312ed934f7ee8 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Mon, 27 Aug 2012 18:20:31 +0000 Subject: [PATCH] -set version number to Beta 4.0.1 -fixed return to wiiflow in ios reloading wii games --- source/channel/nand.cpp | 13 ++++++++----- source/defines.h | 8 ++++---- 2 files changed, 12 insertions(+), 9 deletions(-) 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"