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

fps: replace requestAnimationFrame to setTimetout #3

Merged
merged 1 commit into from May 24, 2021
Merged

Conversation

macabeus
Copy link
Owner

requestAnimationFrame doesn't work well for emulators since it could be faster than 60 FPS on some computers.
Then this PR replaces it to setTimeout such as gbajs originally was using.

city41/smaghetti#25 (comment)

@macabeus macabeus self-assigned this May 24, 2021
@macabeus macabeus merged commit 1f1f832 into master May 24, 2021
@macabeus macabeus deleted the fix/fps branch May 24, 2021 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant