mamedev / mame

MAME
https://www.mamedev.org/
Other
8.41k stars 2.04k forks source link

konami bemani twinkle games desync problem #4352

Open hoholee12 opened 6 years ago

hoholee12 commented 6 years ago

hi theres a issue where all the games in this platform desyncs music and key sounds... they are mainly rhythm games where you hit notes to make a sound at the right time... but it is unplayable when it does this...

there is a ps2 port of the games that has the exact same desync issue on pcsx2 and i was able to solve it by setting a custom framerate to 59.82 instead of the default ntsc 59.94

i hope this will give an insight to how this can be fixed here too.... thanks

ghost commented 6 years ago

yeah, they shouldn't be marked as working.

they also randomly crash (reporting a disk error) unless that's been fixed now.

hoholee12 commented 5 years ago

apparently 59.82hz is an original playstation 240i refresh rate.... just found out now and posting it so it might help

PolarManne commented 5 years ago

Bit of a necrobump, looking at a post on the Mednafen forum, it seems that the PSX should be set to 59.83 Hz in 240p mode, and 59.94 Hz in 480i mode. Changing it from a solid 60 to those two refresh rates in devices/video/psx.cpp seems to fix the desync issue.

I don't know a whole lot about the inner workings of MAME (or really much about coding in general), but having the PSX GPU run at 60 doesn't seem right, since NTSC generally runs at 59.94 Hz anyways.