BizHawk
BizHawk copied to clipboard
Genesis Plus GX crashes after completing Night Striker
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
- Play through the game using a Redump verified BIN/CUE combo. This replay movie can be used.
- Continue to let the emulator run after beating the game or after the movie ends until it gets to the opening screens.
- The emulator will crash.
Host env.
- BizHawk 2.8; Win10 Home 19044; Intel/Nvidia
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...
Please try a dev build.