fix settings glitch

This commit is contained in:
dborth 2009-04-23 02:43:35 +00:00
parent 83a9acf1d6
commit 4a2fd0d76f
5 changed files with 10 additions and 6 deletions

View File

@ -10,7 +10,7 @@
­———————————————————————————————————————————————————————————————————————•ßrK•
×—–­—–­—–­—–­ –­—–­—–­—–­—–­—–­—–­—–­—–­—–­— ­—–­—–­—–­—–­—–­—–­—–­—-­—–­-–•¬
|0O×øo· Snes9x GX 4.0.2 ·oø×O0|
|0O×øo· Snes9x GX 4.0.3 ·oø×O0|
| http://code.google.com/p/snes9x-gx |
| (Under GPL License) |
`¨•¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨'
@ -48,6 +48,10 @@ guides on how to install and get homebrew working on your Nintendo Wii.
| UPDATE HISTORY |
•˜———–—––-- - —————————––––– ———–—––-- - —————————––––– ———–—––-- - ————————•
[4.0.3 - April 23, 2009]
* Settings resetting glitch fixed
[4.0.2 - April 22, 2009]
* GameCube controller home trigger fixed

View File

@ -98,7 +98,7 @@ void UpdateCheck()
else // temporary, for compatibility
{
int versionnum = atoi(version);
if(versionnum > 12) // 012 (4.0.2)
if(versionnum > 13) // 013 (4.0.3)
{
item = mxmlFindElement(xml, xml, "file", NULL, NULL, MXML_DESCEND);
if(item)

View File

@ -274,7 +274,7 @@ decodePrefsData (int method)
result = false;
else if(verMajor < 4) // less than version 4.0.0
result = false; // reset settings
else if(verMajor == 4 && verMinor == 0 && verMinor < 2) // anything less than 4.0.2
else if(verMajor == 4 && verMinor == 0 && verPoint < 2) // anything less than 4.0.2
result = false; // reset settings
else if(verMajor > curMajor || verMinor > curMinor || verPoint > curPoint) // some future version
result = false; // reset settings

View File

@ -20,7 +20,7 @@
#include "filelist.h"
#define APPNAME "Snes9x GX"
#define APPVERSION "4.0.2"
#define APPVERSION "4.0.3"
#define PREF_FILE_NAME "settings.xml"
#define NOTSILENT 0

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<app version="012">
<file url="http://snes9x-gx.googlecode.com/files/Snes9x%20GX%204.0.2%20-%20Wii.zip"></file>
<app version="013">
<file url="http://snes9x-gx.googlecode.com/files/Snes9x%20GX%204.0.3%20-%20Wii.zip"></file>
</app>