mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-22 10:39:18 +01:00
Merge pull request #346 from askotx/master
-Restore: don't reset settings when going back to an older version
This commit is contained in:
commit
221a547c3e
@ -3179,7 +3179,7 @@ static int MenuSettingsEmulation()
|
||||
{
|
||||
case 0:
|
||||
GCSettings.GBHardware++;
|
||||
if (GCSettings.GBHardware > 3)
|
||||
if (GCSettings.GBHardware > 5)
|
||||
GCSettings.GBHardware = 0;
|
||||
break;
|
||||
|
||||
|
@ -469,9 +469,6 @@ decodePrefsData ()
|
||||
result = false;
|
||||
else if(verMajor < 2) // less than version 2.0.0
|
||||
result = false; // reset settings (sorry, should update settings instead)
|
||||
else if((verMajor*100 + verMinor*10 + verPoint) >
|
||||
(curMajor*100 + curMinor*10 + curPoint)) // some future version
|
||||
result = false; // reset settings
|
||||
else
|
||||
result = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user