mirror of
https://github.com/dborth/fceugx.git
synced 2024-10-31 22:45:05 +01:00
don't reset settings when going back to an older version
This commit is contained in:
parent
390981e48f
commit
87b08c9be7
@ -283,9 +283,6 @@ decodePrefsData ()
|
||||
result = false;
|
||||
else if(verMajor < 3) // less than version 3.0.0
|
||||
result = false; // reset settings
|
||||
else if((verMajor*100 + verMinor*10 + verPoint) >
|
||||
(curMajor*100 + curMinor*10 + curPoint)) // some future version
|
||||
result = false; // reset settings
|
||||
else
|
||||
result = true;
|
||||
}
|
||||
@ -598,4 +595,4 @@ bool LoadPrefs()
|
||||
|
||||
ResetText();
|
||||
return prefFound;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user