mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix 64 MiB GBA Video ROMs
This commit is contained in:
parent
116d75c3c8
commit
71f74d25b0
|
@ -257,7 +257,7 @@ void GBAReset(struct ARMCore* cpu) {
|
||||||
memset(gba->debugString, 0, sizeof(gba->debugString));
|
memset(gba->debugString, 0, sizeof(gba->debugString));
|
||||||
|
|
||||||
|
|
||||||
if (gba->romVf && gba->pristineRomSize > SIZE_CART0) {
|
if (gba->romVf && gba->romVf->size(gba->romVf) > SIZE_CART0) {
|
||||||
char ident;
|
char ident;
|
||||||
gba->romVf->seek(gba->romVf, 0xAC, SEEK_SET);
|
gba->romVf->seek(gba->romVf, 0xAC, SEEK_SET);
|
||||||
gba->romVf->read(gba->romVf, &ident, 1);
|
gba->romVf->read(gba->romVf, &ident, 1);
|
||||||
|
|
Loading…
Reference in New Issue