Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FBNeo created playlist when selected from menu immediately closes ludo on Linux #546

Open
Hi-Phile opened this issue Sep 25, 2024 · 0 comments

Comments

@Hi-Phile
Copy link

Hi-Phile commented Sep 25, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant