mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 21:21:05 +00:00

Prevents extra speed throttling from being applied when a script queries the restart flag. Some rooms such as the KQ6 caves and the QFG4 caves do this on every game cycle. In practice, this extra throttling didn't seem to have much effect, but the intent is to only throttle game loops and the script patches that fix inner loops. Updated script patches to call kGameIsRestarting like game loops.