mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix file being closed too soon
This commit is contained in:
parent
da7ad5e022
commit
2655e45f44
|
@ -123,7 +123,6 @@ void GBAUnloadROM(struct GBA* gba) {
|
|||
#ifndef _3DS
|
||||
gba->romVf->unmap(gba->romVf, gba->pristineRom, gba->pristineRomSize);
|
||||
#endif
|
||||
gba->romVf->close(gba->romVf);
|
||||
gba->pristineRom = 0;
|
||||
gba->romVf = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue