Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame skip #30

Closed
fengb opened this issue Oct 4, 2019 · 1 comment
Closed

Frame skip #30

fengb opened this issue Oct 4, 2019 · 1 comment
Labels
Milestone

Comments

@fengb
Copy link
Owner

fengb commented Oct 4, 2019

Right now, each GB frame advances per requestAnimationFrame so any frame skips would cause a realtime timing mismatch. In addition, the Gameboy runs at ~59.7hz, which should be ~0.5% slower @ 60hz or ~58.5% slower @ 144hz.

At the bare minimum, we should do a timing diff and advanced the frame by real-time instead of frame-time.

FUNDUDE should also have a "consistent" mode that doesn't frameskip on 60hz, and somehow works well on 144hz.

@fengb fengb added the frontend label Oct 4, 2019
@fengb fengb added this to the 1.0 — DMG milestone Dec 12, 2019
@fengb
Copy link
Owner Author

fengb commented Dec 26, 2019

Closed by 861d005

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant