CosmicR (./22) :
My feeling currently is that this "jerk" is something to do with MAME and the fact that the Neo Geo updates at 59hz while my display updates at 60.01 hz. Do you think this is right?
That sounds very likely, and I found a post (in French) that confirms it that if the Vsync option is not enabled, you get a stutter one time every second:
https://forum.shmup.com/viewtopic.php?p=159050&sid=686ee7d1f7cb2890fdeb1b5d05381879#p159050I don't know much about MAME, but here's where I'd look:
- if your graphics card and monitor support
variable refresh rate (FreeSync, G-Sync, etc.), it looks like MAME can use it to avoid this problem:
- if they don't, try setting
waitvsync to
1 in MAME configuration. If I understand correctly, this makes MAME display each emulated frame exactly once (so no stuttering), but the game will run slightly too fast and with higher-pitched audio (because 60 Hz > 59.2 Hz) :
https://namelessalgorithm.com/mame/blog/config/- if it's not possible to fix the problem for display, recording video directly from MAME itself may at least get you video files with no stuttering:
https://wiki.hardedge.org/index.php?title=Mame_Video_Capturing