libretro / libretro-uae

PUAE libretro
GNU General Public License v2.0
110 stars 60 forks source link

Save states seem to carry (some?) core options. #659

Closed kokoko3k closed 1 month ago

kokoko3k commented 1 month ago

My core i5-4570 is'n not able to handle Jim Power in Cycle-exact mode at 50fps, so I've se it to "normal", where it have no problems.

However I've had an old savestate done with the "more compatible" setting.

Problem is that if i boot jim power with normal mode and then load that savestate, jim power struggles.

The menu does not reflect anything, it say it is running in normal mode, but reselecting normal again, makes jim power ok again.

I did the opposite (doing a savestate in normal mode and loading from a more compatible mode) and verified that it seems exactly like i wrote.

If fixing the issue is tricky, a quick workaround would be to apply the options when a savestate is loaded.

sonninnos commented 1 month ago

Yes, UAE does that by design, and long ago I've tried to force the current core options after state load, but it caused more problems.

Remnants are still found at https://github.com/libretro/libretro-uae/blob/4493a194dd42e593914c26952ee8cb4ba750f596/libretro/libretro-core.c#L8739-L8742

kokoko3k commented 1 month ago

Wops, thank you for your efforts then!