Skip to content

Commit

Permalink
-Restore: don't reset settings when going back to an older version
Browse files Browse the repository at this point in the history
-Adjust to display more options to GB Hardware type
  • Loading branch information
askotx committed Dec 12, 2016
1 parent 4e8e78f commit 2677717
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion source/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3179,7 +3179,7 @@ static int MenuSettingsEmulation()
{
case 0:
GCSettings.GBHardware++;
if (GCSettings.GBHardware > 3)
if (GCSettings.GBHardware > 5)
GCSettings.GBHardware = 0;
break;

Expand Down
3 changes: 0 additions & 3 deletions source/preferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2677717

Please sign in to comment.