Hide saving dialog that pops up briefly when returning from a game

This commit is contained in:
Daryl Borth 2016-12-08 19:41:52 -07:00
parent 10a881ac05
commit 97e637fed8
4 changed files with 11 additions and 5 deletions

View File

@ -32,6 +32,10 @@ Wii homebrew is WiiBrew (www.wiibrew.org).
| UPDATE HISTORY | | 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] [4.3.6 - September 12, 2016]
* Added the delete save file (SRAM / Snapshot) option * Added the delete save file (SRAM / Snapshot) option

View File

@ -878,6 +878,7 @@ SaveFile (char * buffer, char *filepath, size_t datasize, bool silent)
// halt parsing // halt parsing
HaltParseThread(); HaltParseThread();
if(!silent)
ShowAction("Saving..."); ShowAction("Saving...");
while(!written && retry == 1) while(!written && retry == 1)
@ -919,6 +920,7 @@ SaveFile (char * buffer, char *filepath, size_t datasize, bool silent)
// go back to checking if devices were inserted/removed // go back to checking if devices were inserted/removed
ResumeDeviceThread(); ResumeDeviceThread();
if(!silent)
CancelAction(); CancelAction();
return written; return written;
} }

View File

@ -28,7 +28,7 @@ char wiiIP[16] = { 0 };
#ifdef HW_RVL #ifdef HW_RVL
static int netHalt = 0; 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 static char updateURL[128]; // URL of app update
bool updateFound = false; // true if an app update was found bool updateFound = false; // true if an app update was found
@ -90,7 +90,7 @@ void UpdateCheck()
if(tmp) if(tmp)
{ {
snprintf(updateURL, 128, "%s", tmp); snprintf(updateURL, 128, "%s", tmp);
updateFound = false; updateFound = true;
} }
} }
} }

View File

@ -20,7 +20,7 @@
#include "filelist.h" #include "filelist.h"
#define APPNAME "Snes9x GX" #define APPNAME "Snes9x GX"
#define APPVERSION "4.3.6" #define APPVERSION "4.3.7"
#define APPFOLDER "snes9xgx" #define APPFOLDER "snes9xgx"
#define PREF_FILE_NAME "settings.xml" #define PREF_FILE_NAME "settings.xml"