mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.63k stars 770 forks source link

Stutter in towns in Final Fantasy V Advance? #362

Open ghost opened 8 years ago

ghost commented 8 years ago

In the towns Carwen and Tycoon(as far as I've gotten into the game) there is a lot of stuttering. It might just be the game but it doesn't happen anywhere else except towns from what I can tell. It also doesn't seem to be an issue with video framerate.

Also, in Tule there is a spot behind a house if you run back and forth going passed chimney some black lines will appear near the river above.

Save states Final Fantasy V Advance (USA).zip

.ss1 is Carwen .ss2 is Tule

ghost commented 8 years ago

I just applied the sound restoration hack that also has framerate fixes built in and the stutters in towns are gone.

I still think there is a problem in mGBA though as the stutters cause a graphical defect like line to appear in the terrain. Also the stutters are a lot more severe in mGBA than they are in VBA-M (at least in the libretro core as testing standalone doesn't work well for me) and the lines don't appear in it either.

ghost commented 8 years ago

ffv

endrift commented 8 years ago

It's worth noting that there are games that have slowdown on hardware and in mGBA but not in VBA due to it having worse timings (such as the FFVI sound restoration patch). However, I have no evidence that this is the case here.

endrift commented 8 years ago

Looks like the tearing there is caused by BG layers 1 and 3 getting out of sync for one frame or so.

GrieverV commented 5 years ago

Can still reproduce with 20f900520d7e3e6047ba5169befe3ed26e3f9a04. I'm also able to reproduce with VBA-M but not VGBA or gpSP.

Here's a save file outside of Tule: Final Fantasy V Advance (USA).zip

And here's a savestate at the exact location where you can trigger the issue: final fantasy v advance usa