This patch fixes an issue where our target frame
time could slowly drift out of sync with reality
if we were consistantly missing frames, allowing
the game to run at superspeed once we stopped
missing frames. This was particularly noticable
on my toaster of a macbook when the CPU heated
up and the os started throttling, and also seemed
to come up when the emulator was suspended as I
shifted focus elsewhere.
This patch fixes an issue where our target frame time could slowly drift out of sync with reality if we were consistantly missing frames, allowing the game to run at superspeed once we stopped missing frames. This was particularly noticable on my toaster of a macbook when the CPU heated up and the os started throttling, and also seemed to come up when the emulator was suspended as I shifted focus elsewhere.
Fixes #20