With the setROM_GBA() line commented out the saves on the cart were no longer erased, although of course I could no longer dump the cart and save.
With the setROM_GBA() line commented out the saves on the cart were no longer erased, although of course I could no longer dump the cart and save.