all repos — mgba @ 6fe1f44351b82f85210260ab2425f8aaecb774a4

mGBA Game Boy Advance Emulator

GB Memory: Mark ROM not pristine when doing copy-on-write
Vicki Pfau vi@endrift.com
Tue, 30 May 2017 22:30:11 -0700
commit

6fe1f44351b82f85210260ab2425f8aaecb774a4

parent

f84af911739274c9e4ea24b37d8b4f784f040f84

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gb/memory.csrc/gb/memory.c

@@ -689,4 +689,5 @@ gb->memory.romBase = newRom;

} gb->memory.rom = newRom; GBMBCSwitchBank(gb, gb->memory.currentBank); + gb->isPristine = false; }