Open fengb opened 4 years ago
Holdover from https://github.com/fengb/fundude/issues/30
Prior implementation simply ran a Gameboy frame every requestAnimationFrame(). This worked wonders for 60hz monitors, but it's really silly for 144hz.
Potential solution:
stepTime()
MAX_SKIP_MS
Holdover from https://github.com/fengb/fundude/issues/30
Prior implementation simply ran a Gameboy frame every requestAnimationFrame(). This worked wonders for 60hz monitors, but it's really silly for 144hz.
Potential solution:
stepTime()
MAX_SKIP_MS
to be exactly 1 frame (16.742706 ms)