diff --git a/src/gba/gba.c b/src/gba/gba.c index 713340971..e72e3605d 100644 --- a/src/gba/gba.c +++ b/src/gba/gba.c @@ -106,6 +106,7 @@ static void GBAInit(struct ARMCore* cpu, struct ARMComponent* component) { gba->pristineRom = 0; gba->pristineRomSize = 0; + gba->yankedRomSize = 0; } void GBAUnloadROM(struct GBA* gba) {