Docboy compiled with:
CMake: -DENABLE_BOOTROM=ON -DENABLE_CGB=OFF -DENABLE_DEBUGGER=ON
Compiler: Visual Studio 2026
Command: docboy-sdl DMG_ROM.bin "Super Mario Land (World).gb" -d
Behaviour: crashes the emulator, exception thrown at helpers.cpp:115
To prevent the crash, I have added the following code at the beginning of get_watchpoint:
#ifdef ENABLE_BOOTROM
if (!core.gb.mmu.boot_rom_locked && addr >= 0 && addr <= 255) {
return nullptr;
}
#endif
Docboy compiled with:
CMake: -DENABLE_BOOTROM=ON -DENABLE_CGB=OFF -DENABLE_DEBUGGER=ON
Compiler: Visual Studio 2026
Command: docboy-sdl DMG_ROM.bin "Super Mario Land (World).gb" -d
Behaviour: crashes the emulator, exception thrown at helpers.cpp:115
To prevent the crash, I have added the following code at the beginning of get_watchpoint: