"Don't overwrite SaveRAM on loading savestate" is broken

I’m having this exact issue verbatim:

https://github.com/libretro/beetle-psx-libretro/issues/190

That github report was from a year ago and it looks like it was ignored. I’m having the exact same problem and yes, I set “Don’t overwrite SaveRAM on loading savestate” to ON in retroarch’s main saving settings. And yes, I also did these core options for all games per game:

  • set “Memcard 0 method” to “mednafen
  • set shared memcards to “enabled

I tried veiwing the contents of the Memory Card slot 1 file (mednafen_psx_libretro_shared.0.mcr), via Memcard Rex and loading saves via the game itself and it’s content changes depending on what savestate I load.

Is there any way to fix this because it says verbatim on https://docs.libretro.com/library/beetle_psx_hw/ & https://docs.libretro.com/library/beetle_psx/ and I quote:

/!\ Warning

“Keep in mind that save states also include the state of the memory card; carelessly loading an old save state will OVEWRITE the memory card, potentially resulting in lost saved games. You can set the ‘Don’t overwrite SaveRAM on loading savestate’ option in RetroArch’s Saving settings to ON to prevent this.

So this should not be happening.