TASEmulators / BizHawk

BizHawk is a multi-system emulator written in C#. BizHawk provides nice features for casual gamers such as full screen, and joypad support in addition to full rerecording and debugging tools for all system cores.
http://tasvideos.org/BizHawk.html
Other
2.2k stars 385 forks source link

Genesis Plus GX crashes after completing Night Striker #3439

Closed despoa closed 3 months ago

despoa commented 2 years ago

Summary

After completing a game of Night Striker, BizHawk crashes right after the high score screen and during the opening splash credits. There's no log or error screen, the emulator hard crashes and closes.

Repro

  1. Play through the game using a Redump verified BIN/CUE combo. This replay movie can be used.
  2. Continue to let the emulator run after beating the game or after the movie ends until it gets to the opening screens.
  3. The emulator will crash.

    Host env.

    • BizHawk 2.8; Win10 Home 19044; Intel/Nvidia
CasualPokePlayer commented 2 years ago

Debugging shows this

Thread 1 received signal SIGFPE, Arithmetic exception.
[Switching to Thread 22008.0x59cc]
0x0000036f000fb2b6 in gfx_update (cycles=1752) at core/cd_hw/gfx.c:629

https://github.com/TASEmulators/BizHawk/blob/948084a97e4bfc9e5c9132cf5123430d9b39f339/waterbox/gpgx/core/cd_hw/gfx.c#L629 Debugging also seems to show gfx.cyclesPerLine is 0 in this case. Seems this can occur if a specific register is 0, upstream seems to have the same issue...

YoshiRulz commented 5 months ago

Please try a dev build.