bbbradsmith / hatariB

Libretro core for Hatari emulation of Atari ST STE TT Falcon
GNU General Public License v2.0
20 stars 3 forks source link

Spectre test M3U crashes #50

Closed bbbradsmith closed 5 months ago

bbbradsmith commented 5 months ago

Trying the Spectre program discussed in #37 now that 2.5.0 is integrated. I found an M3U containing the following causes a crash. Will have to diagnose.

spectre.gem
systm608.acsi

(spectre.gem refers to a folder "spectre" as hard drive, and systm608.acsi is a hard disk image, see the mentioned issue for details)

bbbradsmith commented 5 months ago

It appears it actually works if I spell system608.acsi correctly, though I must fix the crash for when it's misspelled. Maybe some issue with the M3U loading code?

bbbradsmith commented 5 months ago

Hmm, the problem seems unrelated to the spelling mistake. If an M3U with hard drives is the first one loaded since opening retroarch, it's fine. If it's not the first... crash? (Tried loading spectre.m3u, then deliverance.m3u, then spectre.m3u again and it crashes.)

bbbradsmith commented 5 months ago

Seems I exposed a new bug in Hatari 2.5.0's SCC_Init. Fixed in https://github.com/bbbradsmith/hatariB/commit/de8454cc3d5af26beb586ce8f862d2a7b77c711b