General Emulation > MAME

Ok me noob

(1/3) > >>

James33:
Going by this

--- Quote ---
On a side note I can report there is also an error in the NeoGeo driver. The Vblank rate is not 60hz
as someone read it to be. The driver was more accurate before that change was made. The correct vblank
speed is 59.1856 as confirmed on real hardware via test code (MV-1F). There are 264 scanlines (visable
area is scanlines 24 to 248) and hsync is 15625 Hz. Anyone who thinks this is wrong can try kof98
attract mode at both speeds, its clear to see music/graphics sync at 59.1856hz but not at 60hz. I have
also done side by side tests, using 60hz causes games that are timmed off vblank to run out of sync.
--- End quote ---


What I like to know is how I can change it back to 59HZ I am not 100% sure what to change ?

iq_132:
In drivers/neogeo.c

Change this:

--- Code: ---
/* using a framerate of 59 will fix the sync of the kof98 video / sound however
  using it would be a kludge as 60 has been measured using the hardware */
MDRV_FRAMES_PER_SECOND(60) /* verified */
MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
--- End code ---

James33:
I did that before but mame would not compile . This is why I posted here

Do I change both or just the MDRV_VBLANK_DURATION line ?

robber804:

--- Quote from: James33 ---I did that before but mame would not compile . This is why I posted here

Do I change both or just the MDRV_VBLANK_DURATION line ?
--- End quote ---


This is the most accurate i have found

MDRV_FRAMES_PER_SECOND(59.1856)
MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)

Worked fine for me and fixes many sync issues in the intro's.

X-or:

--- Quote from: robber804 ---This is the most accurate i have found

MDRV_FRAMES_PER_SECOND(59.1856)
--- End quote ---


the most accurate value is 15625/246

Navigation

[0] Message Index

[#] Next page

Go to full version