Hmm, I’m seeing the same thing. Following the same exact test method (Gran Tourismo 2, First License Test) the save seems to get corrupted after loading from a save state in Retroarch and I can confirm that this does not occur in mednafen-0.9.37.1-win64 as I tried it there as well
At first I thought it might be a problem with the way Retroarch handles the save files as it didn’t look like the Retroarch mcr files held any save files when viewing them in PSXGameEdit, but it looks like the game save is actually saved in the SRM file not the MCR file. The only thing that occurs to me is that maybe it’s a bug in whatever save/loading code is responsible for changing from
Mednafen Save Medhod:
[Mednafen/sav]GameName.hash.0.mcr
+
[Mednafen/sav]GameName.hash.1.mcr
to Retroarch Save Method:
[Game Folder]GameName.srm
+
[Retroarch/System]GameName.hash.1.mcr
Let me know if you need me to explain that more as I’m not entirely sure that makes sense right now. For reference, I uploaded my save files for Retroarch, Mednafen, and PCSX-R with what should be the same data (±different track times) for Gran Tourismo 2
https://www.sendspace.com/file/vyrdz4
Oddly enough I did not see the bug in Ridge Racer IV