libretro / flycast

Flycast is a multiplatform Sega Dreamcast emulator. NOTE: No longer actively developed, use upstream repo for libretro from now on - https://github.com/flyinghead/flycast
http://reicast.com
GNU General Public License v2.0
155 stars 77 forks source link

Disc swapping is currently broken. #1039

Closed bslenul closed 3 years ago

bslenul commented 3 years ago

Disc swapping seems to be broken atm (d58c8fefc00ff8696aad6881f01edf45fea95990 being the current commit when typing this), tested on Shenmue, D2, RE Code: Veronica and Skies of Arcadia (I don't have any other multi-discs games), it only works with REC:V for some reason. With the other games it just does nothing when swapping discs without resuming while tray is open (the game will stay on the "Insert Disc X" for ever), if you resume game while tray is open it will send you to BIOS.

Happening on Windows, Linux and Android, D2 swap worked fine before fda43ff4537c2367f1c9ad74005e71760e57e322.

bslenul commented 3 years ago

Nothing interesting in logs btw, so I built the core with DEBUG=1, I have no clue if this can help: https://pastebin.com/T7KhF1ek

This is with Skies of Arcadia, I'm ejecting at line 2269, then resume, switch disc index, insert. Ingame it says "Checking disc data..." then it sends me to the BIOS.

bslenul commented 3 years ago

Oh my bad, I should've tested standalone first, it's happening there too! I'll see if I can build/bisect standalone and I'll repost this issue in upstream!

edit: Although standalone doesn't have any issue with D2 swap atm. I'll do more tests tomorrow, I'll re-open a proper issue if needed.