libretro / pcsx_rearmed

ARM optimized PCSX fork
GNU General Public License v2.0
168 stars 120 forks source link

Timing hack for Metal Gear Solid #781

Closed CometHunter92 closed 1 year ago

CometHunter92 commented 1 year ago

Metal Gear Solid stutters during the cutscenes (notably in the heliport). A cpu clock value of "85" seems to fix the NTSC-U version, while the PAL still stutters.

notaz commented 1 year ago

This seems a bit much, real hardware is unlikely to reach such speeds so this may break the game at some point. There is likely some unrelated issue for the slowdown, especially if this change doesn't help the PAL version. How much have you tested this?

CometHunter92 commented 1 year ago

I was on a full playthrough right now, but you're right, I guess this is not the right way to fix it. I just noticed that the boot now took about 30s seconds, so there is definitely something not right. BTW with that clock speed no more stutters so far. Stutters are not "slowdowns" but there are like a momentary "hang" where a disc appear (?), I've never seen anything like this before, it's like is caching from the CD. I'll attach a screenshot and a savestate just before the heliport cutscene. It's not device or SD related, it happens on different platforms at the same points (tested on a Pi4 64 and a bunch of retrohandhelds).

Metal Gear Solid (USA).zip

notaz commented 1 year ago

Stutters are not "slowdowns" but there are like a momentary "hang" where a disc appear (?)

That sounds very much like a cdrom timing issue and should be fixed there instead. I'll look at it later.

CometHunter92 commented 1 year ago

That sounds very much like a cdrom timing issue and should be fixed there instead. I'll look at it later.

Thanks, sorry for any inconvenience.