Update region overrides and overclocking

- ines.c - misc cleanups
- Fix Dendy not restored when changing overrides back to auto mode
- directly apply new scanlines and additional scanlines when changing overclock settings
- (readability) change variable name overlock_state to overclock_enabled
This commit is contained in:
negativeExponent
2020-02-07 14:53:14 +08:00
parent 85a15786ff
commit fa7b15eb61
5 changed files with 76 additions and 74 deletions

View File

@@ -477,7 +477,7 @@ void FCEU_ResetVidSys(void)
dendy = 0;
normal_scanlines = dendy ? 290 : 240;
totalscanlines = normal_scanlines + (overclock_state ? extrascanlines : 0);
totalscanlines = normal_scanlines + (overclock_enabled ? extrascanlines : 0);
FCEUPPU_SetVideoSystem(w || dendy);
SetSoundVariables();