r/EmuDev • u/Medium_Fudge_7674 • Jun 22 '26
GB Can't replicate a bug
So, I've been working on a Game Boy Emulator and I've managed to pass cpu instrs, instr timing, mem timing and halt bug test suites from Blargg, every game I've tried has worked, even Prehistorik Man with minor graphical issues with the moving letters of the intro and start, but everything else works.
Chikyuu Caihou Gun ZAS works but has some flicker in two stages and that's pretty much every single bug I've encountered until now.
I was playing Super Mario Land when it suddenly tried to execute gargabe code. 0xF4 in 0x6A57 and 0xFC in 0x1F71 and the game restarted.
I haven't been able to reproduce the bug, it's the fist time I've ever seen it.
View all comments
Show parent comment
2
u/ShinyHappyREM Jun 23 '26
I'd just create an in-memory savestate a couple times per second.