Minimized emulator causes speedup of emulation #1279
Vsync Throttle (tick)
If I'm playing an N64 game than minimizing the emulator will cause the emulation to speed up. Switching to another application doesn't cause this phenomena, only minimizing does.
Windows 10 x64 1803
This happens because vsync and vsync throttle are only checked if JobInfo.offscreen is TRUE:
So in this example if bizhawk is minimised, these things are never checked in UpdateSourceDrawingWork() (and so no throttling happens at all).
Is this expected behavior? I really don't know much about vsync. Will the world end if we attempt to vsync throttle when bizhawk is 'offscreen'?
This is caused by 3adc8f7
I probably thought it didn't make any sense to send 0x0 deep into displaymanager, so didn't investigate this deeply once I realized it would fix it.
However I see now that we might need to go all the way to the end, for purposes of making vsync work.
I'll rejigger this code a little bit, and I think it will fix this bug without affecting the old stuff.