libretro / libretro-uae

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

[Feature Request] Per-game WHDLoad.prefs #572

Closed redmist77 closed 1 year ago

redmist77 commented 1 year ago

It's it possible to add a custom WHDLoad.prefs for a particular game? If not, it would be a useful feature. e.g. some games like Elfmania require NoWriteCache to be disabled to avoid screen flickering.

zzedmore commented 1 year ago

You mean on the coins of Elfmania ? 'Memory Cycle Exact' cleared that up for me.

redmist77 commented 1 year ago

No, the flashing on the loading/title/character-selection screens. 'Memory Cycle Exact' doesn't fix that. The only fix is to enable WHDLoad disk write cache.

redmist77 commented 1 year ago

Ah, it looks like this issue is handled in WHDLoad 18.7. PUAE currently uses 18.6

Details here -: http://www.mantis.whdload.de/view.php?id=5263

With this fix, it would be possible to create saves\WHDSaves\custom_Elfmania.slave containing a command "WriteCache" which would override the "NoWriteCache" in the global WHDLoad.prefs

A workaround is to remove NoWriteCache globally and then create a custom_[game].slave for every other game which contains "NoWriteCache". 😲

EDIT: A better solution would be to just replace the version of WHDLoad in /saves/PUAE/WHDLoad/C with a newer version that supports "WriteCache" to override the global "NoWriteCache"

sonninnos commented 1 year ago

It sure would be nice to be able to have write cache enabled always AND not lose saves when quitting RA instead of WHDLoad.