GB: Disallow skipping BIOS with no ROM loaded
Vicki Pfau vi@endrift.com
Sun, 11 Oct 2020 23:59:30 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gb/gb.c
→
src/gb/gb.c
@@ -469,7 +469,7 @@
GBVideoReset(&gb->video); GBTimerReset(&gb->timer); GBIOReset(gb); - if (!gb->biosVf) { + if (!gb->biosVf && gb->memory.rom) { GBSkipBIOS(gb); } else { mTimingSchedule(&gb->timing, &gb->timer.event, 0);