From 97e637fed8d00e28380bac9a71b2b8e9be181234 Mon Sep 17 00:00:00 2001 From: Daryl Borth Date: Thu, 8 Dec 2016 19:41:52 -0700 Subject: [PATCH] Hide saving dialog that pops up briefly when returning from a game --- readme.txt | 4 ++++ source/fileop.cpp | 6 ++++-- source/networkop.cpp | 4 ++-- source/snes9xgx.h | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/readme.txt b/readme.txt index e53312e..e7f06fe 100644 --- a/readme.txt +++ b/readme.txt @@ -32,6 +32,10 @@ Wii homebrew is WiiBrew (www.wiibrew.org). | UPDATE HISTORY | •˜———–—––-- - —————————––––– ———–—––-- - —————————––––– ———–—––-- - ————————• +[4.3.7 - December 9, 2016] + +* Hide saving dialog that pops up briefly when returning from a game + [4.3.6 - September 12, 2016] * Added the delete save file (SRAM / Snapshot) option diff --git a/source/fileop.cpp b/source/fileop.cpp index 0dff7e9..186baa8 100644 --- a/source/fileop.cpp +++ b/source/fileop.cpp @@ -878,7 +878,8 @@ SaveFile (char * buffer, char *filepath, size_t datasize, bool silent) // halt parsing HaltParseThread(); - ShowAction("Saving..."); + if(!silent) + ShowAction("Saving..."); while(!written && retry == 1) { @@ -919,7 +920,8 @@ SaveFile (char * buffer, char *filepath, size_t datasize, bool silent) // go back to checking if devices were inserted/removed ResumeDeviceThread(); - CancelAction(); + if(!silent) + CancelAction(); return written; } diff --git a/source/networkop.cpp b/source/networkop.cpp index 682f89f..a8d5dd0 100644 --- a/source/networkop.cpp +++ b/source/networkop.cpp @@ -28,7 +28,7 @@ char wiiIP[16] = { 0 }; #ifdef HW_RVL static int netHalt = 0; -static bool updateChecked = true; // true if checked for app update +static bool updateChecked = false; // true if checked for app update static char updateURL[128]; // URL of app update bool updateFound = false; // true if an app update was found @@ -90,7 +90,7 @@ void UpdateCheck() if(tmp) { snprintf(updateURL, 128, "%s", tmp); - updateFound = false; + updateFound = true; } } } diff --git a/source/snes9xgx.h b/source/snes9xgx.h index 66f8372..8baebb5 100644 --- a/source/snes9xgx.h +++ b/source/snes9xgx.h @@ -20,7 +20,7 @@ #include "filelist.h" #define APPNAME "Snes9x GX" -#define APPVERSION "4.3.6" +#define APPVERSION "4.3.7" #define APPFOLDER "snes9xgx" #define PREF_FILE_NAME "settings.xml"