mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.61k stars 769 forks source link

Using "Replace Rom..." resets game overrides #1763

Open camthesaxman opened 4 years ago

camthesaxman commented 4 years ago

Use Case: I am trying to use mGBA to test a multiboot program (one sent over the link cable) that reads data from an inserted Pokemon Emerald cartridge. The multiboot program needs to be able to read data from the cartridge ROM as well as save data from the cartridge, therefore it's essential that the Game Overrides persist after replacing the ROM.

Steps to reproduce:

Expected result:

Actual result:

endrift commented 4 years ago

There are arguments for doing it both ways, so it should probably be an option. That said, Emerald should autodetect the overrides properly when you load it, so that's a separate issue here.

camthesaxman commented 4 years ago

That's fine. I'd be okay with it loading the settings for the cartridge that you swap to. It makes sense because with physical hardware, the save memory is located on the cartridge, so when you swap cartridges, you're swapping save memory.