GBA: Fix multiboot ROM loading

This commit is contained in:
Jeffrey Pfau 2017-01-01 22:04:04 -08:00 committed by Vicki Pfau
parent a9f93aa751
commit 565e280bf6
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,7 @@
0.5.3: (Future)
Bugfixes:
- ARM7: Fix MLA/*MULL/*MLAL timing
- GBA: Fix multiboot ROM loading
0.5.2: (2016-12-31)
Bugfixes:

View File

@ -193,6 +193,9 @@ static void _GBACoreSetAVStream(struct mCore* core, struct mAVStream* stream) {
}
static bool _GBACoreLoadROM(struct mCore* core, struct VFile* vf) {
if (GBAIsMB(vf)) {
return GBALoadMB(core->board, vf);
}
return GBALoadROM(core->board, vf);
}