simplify code

This commit is contained in:
Daryl Borth 2022-05-20 13:10:25 -06:00
parent 48d499c564
commit 30363b8638

View File

@ -3210,9 +3210,7 @@ static int MenuSettingsVideo()
GCSettings.gbaFrameskip ^= 1;
break;
case 9:
GCSettings.TurboModeEnabled++;
if (GCSettings.TurboModeEnabled > 1)
GCSettings.TurboModeEnabled = 0;
GCSettings.TurboModeEnabled ^= 1;
break;
}