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; GCSettings.gbaFrameskip ^= 1;
break; break;
case 9: case 9:
GCSettings.TurboModeEnabled++; GCSettings.TurboModeEnabled ^= 1;
if (GCSettings.TurboModeEnabled > 1)
GCSettings.TurboModeEnabled = 0;
break; break;
} }