GBA: Fix 64 MiB GBA Video ROMs

This commit is contained in:
Vicki Pfau 2022-07-02 20:32:48 -07:00
parent 116d75c3c8
commit 71f74d25b0
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ void GBAReset(struct ARMCore* cpu) {
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;
gba->romVf->seek(gba->romVf, 0xAC, SEEK_SET);
gba->romVf->read(gba->romVf, &ident, 1);