GB: Disallow skipping BIOS with no ROM loaded

This commit is contained in:
Vicki Pfau 2020-10-11 23:59:30 -07:00
parent 3b93e762ae
commit bea8959e25
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ void GBReset(struct SM83Core* cpu) {
GBVideoReset(&gb->video); GBVideoReset(&gb->video);
GBTimerReset(&gb->timer); GBTimerReset(&gb->timer);
GBIOReset(gb); GBIOReset(gb);
if (!gb->biosVf) { if (!gb->biosVf && gb->memory.rom) {
GBSkipBIOS(gb); GBSkipBIOS(gb);
} else { } else {
mTimingSchedule(&gb->timing, &gb->timer.event, 0); mTimingSchedule(&gb->timing, &gb->timer.event, 0);