-
Notifications
You must be signed in to change notification settings - Fork 74
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
Mame doesn't apply the right framerate on game start #28
Comments
https://github.com/libretro/mame/blob/master/src/osd/libretro/window.cpp
i think first time it call only NEWGAME_FROM_OSD = 2 if res not > resmax (so only update geometry) At least test if retro_fps is different from old fps and then force NEWGAME_FROM_OSD =1. |
Can't compile it on win7 x64. Trying: I end up with a non working core crashing retroarch. https://mega.nz/#!59dwCCSa!snkMA02hlBKCI-X3qqi5QNB9NwB_O84jQOhhKKwEExA Full Mame compile failed without any core in the end. |
You have to check your tc is seh or sjlj. |
Oh you already told me something about that before... Sorry to ask, but if you have time to compile a test for me I could tell you how it behave. |
no time to do a mame build ,but I change code to do so . so wait the buildbot and see. |
It starts with the right timing now that's good! I see a "game focus is: OFF" message though at start and the mouse cursor is visible. |
Yes it's good. |
I was testing a custom resolution of 54.7Hz to run Mortal Kombat 1 and observe the scrolling on title screen (when you insert a coin).
I specified video_refresh_rate = "54.7" in a Mame.cfg override that is working on core start.
I see my TV switching to it and reported it in retroarch video settings "Estimated screen framerate".
But the scrolling is jerky showing the game is not running at that framerate.
When I change Throttle in Mame core options, a re-init happens and the scrolling is now perfectly smooth!
The thing is, you can just change that throttle setting from OFF to ON and then back to OFF again, resume, it's smooth.
I think the reason is SET_SYSTEM_AV_INFO is called while it wasn't called on initial boot?
The text was updated successfully, but these errors were encountered: