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

60 FPS Limit enabled, but displays 62 FPS? #18

Open
tomdaley92 opened this issue Jul 5, 2017 · 0 comments
Open

60 FPS Limit enabled, but displays 62 FPS? #18

tomdaley92 opened this issue Jul 5, 2017 · 0 comments
Labels

Comments

@tomdaley92
Copy link
Member

tomdaley92 commented Jul 5, 2017

This is most likely due to the fact that I am currently using SDL_GetTicks() for timing control. This function has a nasty precision of about 10ms. I would need to switch to high performance timers for more accurate timing of the frame-rate as well as the emulator itself. The current FPS display is an average, so it isn't too accurate just by nature and is more of a debugging tool.

Edit: I think I may actually be rednering a few extra frames, this is a reminder to look into this.

@tomdaley92 tomdaley92 added the bug label Jul 5, 2017
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