Greetings Elapido!
I personally do not recommend using this method anymore since it forces games with lower refresh rates like 30Hz to run at 60Hz and it also causes errors/crashes in some games and even prevents some drivers from loading. At least in the previous SmoothMame method you could specify the source code to only affect games with higher refresh rate than 50 to run at 60Hz and ignore the others.
I have not been able to force the MK games and the midtunit.c driver to run at 60Hz and I’ve been giving up on that.
PS. If you are editing screen.c, I think you should also modify screen.h as shown below, that might help to force more games to run at 60Hz. I have not used this method since v0.143 and I’m not sure if it works with the current MAME version. Cheers ---
in src/emu/screen.h:
change:
screen_device::static_set_refresh(*device, HZ_TO_ATTOSECONDS(_rate)); \
to:
screen_device::static_set_refresh(*device, HZ_TO_ATTOSECONDS(60)); \
----
“Anyone who has never made a mistake has never tried anything new.” --Albert Einstein
|