GB Memory: Mark ROM not pristine when doing copy-on-write

This commit is contained in:
Vicki Pfau 2017-05-30 22:30:11 -07:00
parent f84af91173
commit 6fe1f44351
1 changed files with 1 additions and 0 deletions

View File

@ -689,4 +689,5 @@ void _pristineCow(struct GB* gb) {
}
gb->memory.rom = newRom;
GBMBCSwitchBank(gb, gb->memory.currentBank);
gb->isPristine = false;
}