Skip to content

Commit

Permalink
fix settings glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
dborth committed Apr 23, 2009
1 parent 83a9acf commit 4a2fd0d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
`������� ���������������� ��������������� �������������������� �������������'
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion source/ngc/networkop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion source/ngc/preferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion source/ngc/snes9xGX.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions update.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 4a2fd0d

Please sign in to comment.