From bea8959e252557b852ea47f1a791021bd50e201a Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 11 Oct 2020 23:59:30 -0700 Subject: [PATCH] GB: Disallow skipping BIOS with no ROM loaded --- src/gb/gb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gb/gb.c b/src/gb/gb.c index bc7221957..d2b750aae 100644 --- a/src/gb/gb.c +++ b/src/gb/gb.c @@ -469,7 +469,7 @@ void GBReset(struct SM83Core* cpu) { 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);