melonDS-emu / melonDS

DS emulator, sorta
https://melonds.kuribo64.net
GNU General Public License v3.0
2.98k stars 493 forks source link

Kingdom Hearts Re:Coded Game-Breaking Frame Freeze #1145

Open Bobsican opened 3 years ago

Bobsican commented 3 years ago

I was playing normally and all of sudden the images (plural because two screens, lol) got locked into the same frame, although judging by the sound effects and input answers, the game seems to be still working properly behind this big graphical issue (I can even pause the game and access stuff, even if effectively blind), and it's presumably on part of the emulator itself. Version used of the emulator: 0.9.2 Also, for debugging purposes, this happened a while after saving Huey and Dewey then going to the portal on the door in Traverse Town, as seen in the picture: 2021-06-30 (4) A video of the glitch in effect can also be seen here: https://imgur.com/a/w1x9YIr Here's a "healthy" save state I did after I found this glitch where it doesn't seem to trigger if you try to go to the place that triggered it or so: Kingdom Hearts Re-Coded.zip Here's also a save state where this bug is in effect: KHReCoded SaveStateGlitch.zip

Edit: After some more testing, it seems to be caused for changing "main" application for a while (For example, going from MelonDS to another app).

RSDuck commented 3 years ago

you seem to be using the OpenGL renderer. I think the cause of this lies in the way we use OpenGL across multiple threads.

Bobsican commented 3 years ago

That appears to be the case, yes 2021-06-30 (5)