all repos — mgba @ bea8959e252557b852ea47f1a791021bd50e201a

mGBA Game Boy Advance Emulator

GB: Disallow skipping BIOS with no ROM loaded
Vicki Pfau vi@endrift.com
Sun, 11 Oct 2020 23:59:30 -0700
commit

bea8959e252557b852ea47f1a791021bd50e201a

parent

3b93e762ae248f80d2a19b7e3e39721304e7adad

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gb/gb.csrc/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);