FBNeo created playlist when selected from menu immediately closes ludo on Linux
Opened this issue · 0 comments
FBNeo - Arcade Games.csv
The game directory does scan and the FBNeo - Arcade Games.csv file is created under ~/.local/share/ludo/playlists, but as soon as you attempt to select the list from the Ludo menu, Ludo just closes down.
Using the Main Menu to load cores and games manually does work with FBNeo games.
If I load the fbneo_libretro core first, can open any FBNeo game from the directory and they run fine.
Seems like this issue is related to the playlist (not being able create the menu of games) isn't working.
I already attempted to delete FBNeo - Arcade Games.csv and rescan the fbneo game directory (that works to create the playlist), but ludo just closes as soon as the FBNeo games list is selected. Other game libraries (snes, gba, tg16, pce) work and the game menus get populated and can launch the games without any issue.
Here's the verbose log when I open ludo and attempt to select the FBNeo Arcade game from the menu:
$ ludo -v
panic: runtime error: index out of range [1] with length 0
goroutine 1 [running, locked to thread]:
github.com/libretro/ludo/menu.buildPlaylist({0xc0069a1b80, 0x40})
/home/runner/work/ludo/ludo/menu/scene_playlist.go:32 +0x83b
github.com/libretro/ludo/menu.getPlaylists.func1()
/home/runner/work/ludo/ludo/menu/scene_tabs.go:153 +0x25
github.com/libretro/ludo/menu.(*sceneTabs).update(0xc000132360, 0x197afb38?)
/home/runner/work/ludo/ludo/menu/scene_tabs.go:271 +0x1b6
github.com/libretro/ludo/menu.(*Menu).Update(...)
/home/runner/work/ludo/ludo/menu/input.go:24
main.runLoop(0xc006ae8320, 0xc003b03a80)
/home/runner/work/ludo/ludo/main.go:61 +0x302
main.main()
/home/runner/work/ludo/ludo/main.go:149 +0x56f
This is on x86_64 Arch Linux 6.10.10-arch1-1
local/ludo-bin 0.17.2-1