MAMEWorld >> EmuChat
Index   Flat Mode Flat  

Malmanian
Reged: 07/30/06
Posts: 80
Loc: スウェーデン
Send PM
Re: 5? to 60hz source modification in 0.146
09/09/12 11:40 PM


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







Entire thread
Subject Posted by Posted on
* 5? to 60hz source modification in 0.146 Elapido 09/09/12 04:10 PM
. * Re: 5? to 60hz source modification in 0.146 edcosta  09/10/12 02:01 AM
. * Re: 5? to 60hz source modification in 0.146 grog  09/10/12 12:08 AM
. * Re: 5? to 60hz source modification in 0.146 Malmanian  09/09/12 11:40 PM
. * Re: 5? to 60hz source modification in 0.146 Elapido  09/10/12 12:57 PM
. * Re: 5? to 60hz source modification in 0.146 asasega  09/10/12 03:18 PM
. * Re: 5? to 60hz source modification in 0.146 grog  09/10/12 07:53 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 346 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3682