batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.96k stars 513 forks source link

Mame savestates still broken as of v39. Keeps incrementing #12035

Closed Gradius99 closed 2 months ago

Gradius99 commented 3 months ago

Batocera build version

39 stable

Your architecture

x86_64

Your Graphic Processor Unit(s) (GPU)

Nvidia 840m

Issue description

Using Libretro Mame as the emulator. Settings in Emulationstation set to Not increment/Use existing save. When you save a game in Slot 0 it will save it Slot 1. If you save again it will save to Slot 2. It will always save to the next Slot. It will also Load from the next Slot instead of the current. So if you are on Slot 0, then reload, it will load Slot 1 instead. Load again, it will load Slot 2, etc.

Others have reported this issue, it still remains as of v39. The last version I used where savestates in libretro Mame work correctly was v33.

Please fix someone!.

Detailed reproduction steps

Set Mame Emulator as Libretro Mame. Set savestates to Not increment/Keep existing save. Start a Mame game. When you save a game in Slot 0 it will save it Slot 1. If you save again it will save to Slot 2. It will always save to the next Slot. It will also Load from the next Slot instead of the current. So if you are on Slot 0, then reload, it will load Slot 1 instead. Load again, it will load Slot 2, etc. This issue has persisted for the last 5 versions and remains unfixed.

Details of any attempts to fix this yourself

None

Details of any modifications you have made to Batocera.

None

Logs and data

None

Gradius99 commented 3 months ago

Previously reported:

https://github.com/batocera-linux/batocera.linux/issues/10403 https://github.com/batocera-linux/batocera.linux/issues/4738

dmanlfc commented 2 months ago

fixed in v40