mirror of https://github.com/mgba-emu/mgba.git
GB: Disallow skipping BIOS with no ROM loaded
This commit is contained in:
parent
3b93e762ae
commit
bea8959e25
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue