mirror of
https://github.com/dborth/fceugx.git
synced 2024-10-31 22:45:05 +01:00
simplify code
This commit is contained in:
parent
9b1bf3ad50
commit
2fbcb7a036
@ -3419,9 +3419,7 @@ static int MenuSettingsVideo()
|
||||
GCSettings.videomode = 0;
|
||||
break;
|
||||
case 10:
|
||||
GCSettings.TurboModeEnabled++;
|
||||
if (GCSettings.TurboModeEnabled > 1)
|
||||
GCSettings.TurboModeEnabled = 0;
|
||||
GCSettings.TurboModeEnabled ^= 1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user