alyosha-tas / GBAHawk

Gameboy Advance Emulator fork of BizHawk
Other
12 stars 2 forks source link

DK: King of Swing: crash in Treacherous Twister #22

Closed RetroEdit closed 11 months ago

RetroEdit commented 11 months ago

The game crashes in Treacherous Twister. This sounds like a bug mGBA also had a few years back: https://github.com/mgba-emu/mgba/issues/457

I was using GBAHawk 2.0.0, so maybe this has been fixed now? But none of the recent commits look like they address this. I'll probably pull it down and build it for future resyncs.

I will note that DK: King of Swing is generally a very stable game timing-wise. I wouldn't be surprised if the original mGBA movie is able to sync on real console (possibly with one or two frame adjustments at the very beginning).

Repro

TreachorousTwister_Crash.zip Save file + movie that reaches the save file.

alyosha-tas commented 11 months ago

Yup I did in fact manage to miss the fact that some of the upper bits WAITCNT are read only (despite it specifically saying so in GBA Tek.)

Thanks for the report and link to the fix, fixed in master.