mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix multiboot ROM loading
This commit is contained in:
parent
180418a74f
commit
3f61f68f22
1
CHANGES
1
CHANGES
|
@ -12,6 +12,7 @@ Bugfixes:
|
||||||
- GBA Memory: Improve initial skipped BIOS state
|
- GBA Memory: Improve initial skipped BIOS state
|
||||||
- GBA BIOS: Implement BitUnPack
|
- GBA BIOS: Implement BitUnPack
|
||||||
- ARM7: Fix MLA/*MULL/*MLAL timing
|
- ARM7: Fix MLA/*MULL/*MLAL timing
|
||||||
|
- GBA: Fix multiboot ROM loading
|
||||||
Misc:
|
Misc:
|
||||||
- SDL: Remove scancode key input
|
- SDL: Remove scancode key input
|
||||||
- GBA Video: Clean up unused timers
|
- GBA Video: Clean up unused timers
|
||||||
|
|
|
@ -198,6 +198,9 @@ static void _GBACoreSetAVStream(struct mCore* core, struct mAVStream* stream) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool _GBACoreLoadROM(struct mCore* core, struct VFile* vf) {
|
static bool _GBACoreLoadROM(struct mCore* core, struct VFile* vf) {
|
||||||
|
if (GBAIsMB(vf)) {
|
||||||
|
return GBALoadMB(core->board, vf);
|
||||||
|
}
|
||||||
return GBALoadROM(core->board, vf);
|
return GBALoadROM(core->board, vf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue