libretro / libretro-uae

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

Floppy disks : unable to swap outside of MD mode except, when run-ahead enabled (or otherwise, in a temporary way, after altering an unrelated setting) #469

Closed bidinou closed 2 years ago

bidinou commented 2 years ago

Hi ! I am encountering the following floppy disks related issue. Configuration : KDE Neon (Ubuntu 20.04 based) + snap packages of Retroarch (up to date).

I cannot swap disks in non Multidisk mode, even if they are in a M3U playlist and even if I eject and select the new disk properly

HOWEVER I did manage to get some MultiDisk games work in MD mode (for example Athanor 2, as this game supports several floppy drivers)

I guess I'm definitely doing something wrong :-) Cheers & thank you so much !!

bidinou commented 2 years ago

OK, I'm editing this issue after making quite a few tests. I've figured out something new :

Swapping floppy disks does NOT work UNLESS changing the "whdload support" setting and closing the current content, restarting the core (not restarting RA) !!

I can either change from "none" to "files" or from "files" to "none". Close content. Load an ADF, and, tada, I can swap disks !

If I don't do that, after selecting a new disk, it is not detected.

I have to do this once each time I start RetroArch. Then floppy disks swapping works until I quit RA.

(Edit : I also edited my initial post as I had made a mistake regarding some incompatible disks ; there was another problem, it was my fault)

sonninnos commented 2 years ago

That makes absolutely no sense, since the value of that core option is only investigated when booting hard drive images, not floppies.

Debug level log output would shine a light.

I can append/insert floppies just fine regardless if booted with floppies or hard drives.

bidinou commented 2 years ago

Yep, it indeed makes no sense at all -- but it's 100% reproducible here :) I'll send you a debug log as soon as possible. Thank you :)

bidinou commented 2 years ago

I also made a post on the forum, to see if other people encounter the same problem as me :) I hope you don't mind ! https://forums.libretro.com/t/unable-to-swap-disks-non-md-unless-altering-an-unrelated-setting/35718

bidinou commented 2 years ago

AAAH !!! Figured out ! Yet another bug triggered when the global "run-ahead" setting is enabled ! Disk swapping works 100% when it's disabled (without modifying unrelated settings ;)

bidinou commented 2 years ago

Here is the debug log in which I start PUAE with SOS1.adf (Shadow of Sergoth, new RPG :) and try to swap with SOS2.adf. It's not inserted / detected. https://easyupload.io/yhhjat

sonninnos commented 2 years ago

I'll close this one too since I think frontend related run-ahead issues should be fixed in the frontend.