From 76f35069bcbf90b77b6ca0d26a3635cf1150da4b Mon Sep 17 00:00:00 2001 From: dborth Date: Sat, 10 Apr 2010 06:29:45 +0000 Subject: [PATCH] --- readme.txt | 6 +++++- source/filebrowser.cpp | 7 ++++--- source/vbagx.h | 2 +- update.xml | 4 ++-- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/readme.txt b/readme.txt index 2f58632..8039d42 100644 --- a/readme.txt +++ b/readme.txt @@ -1,7 +1,7 @@ ¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,¸,ø¤°`°¤ø,¸¸,ø¤ - Visual Boy Advance GX - - Version 2.1.4 + Version 2.1.5 http://code.google.com/p/vba-wii (Under GPL License) @@ -28,6 +28,10 @@ With it you can play GBA/Game Boy Color/Game Boy games on your Wii/GameCube. |0O×øo· UPDATE HISTORY ·oø×O0| `¨•¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨' +[2.1.5 - April 9, 2010] + +* Fix auto-save bug + [2.1.4 - April 9, 2010] * Fixed issue with saves (GBA) and snapshots (GB) diff --git a/source/filebrowser.cpp b/source/filebrowser.cpp index d3fdb11..5de4806 100644 --- a/source/filebrowser.cpp +++ b/source/filebrowser.cpp @@ -483,6 +483,10 @@ int BrowserLoadFile() if(!FindDevice(browser.dir, &device)) return 0; + // store the filename (w/o ext) - used for sram/freeze naming + StripExt(ROMFilename, browserList[browser.selIndex].filename); + strcpy(loadedFile, browserList[browser.selIndex].filename); + loadingFile = true; ROMLoaded = LoadVBAROM(); loadingFile = false; @@ -503,9 +507,6 @@ int BrowserLoadFile() else if (GCSettings.AutoLoad == 2) LoadBatteryOrStateAuto(FILE_SNAPSHOT, SILENT); - // store the filename (w/o ext) - used for sram/freeze naming - StripExt(ROMFilename, browserList[browser.selIndex].filename); - strcpy(loadedFile, browserList[browser.selIndex].filename); ResetBrowser(); } CancelAction(); diff --git a/source/vbagx.h b/source/vbagx.h index b12ea6b..75ddb61 100644 --- a/source/vbagx.h +++ b/source/vbagx.h @@ -16,7 +16,7 @@ #include "utils/FreeTypeGX.h" #define APPNAME "Visual Boy Advance GX" -#define APPVERSION "2.1.4" +#define APPVERSION "2.1.5" #define APPFOLDER "vbagx" #define PREF_FILE_NAME "settings.xml" #define PAL_FILE_NAME "palettes.xml" diff --git a/update.xml b/update.xml index 3061bb3..5e8ca07 100644 --- a/update.xml +++ b/update.xml @@ -1,4 +1,4 @@ - - + +