libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.41k stars 1.84k forks source link

Try to preserve playlists core assignations for playlists that doesn exists #2352

Closed kivutar closed 9 years ago

kivutar commented 9 years ago

I start with this settings, and 0 LPL in my playlists dir

playlist_names = "Sega - SG-1000.lpl;Nintendo - Game Boy Advance.lpl;"
playlist_cores = "/usr/lib/libretro/genesis_plus_gx_libretro.so;/usr/lib/libretro/vbam_libretro.so;"

I scan some GBA roms and restart RA, the settings are not lost:

playlist_names = "Sega - SG-1000.lpl;Nintendo - Game Boy Advance.lpl;"
playlist_cores = "/usr/lib/libretro/genesis_plus_gx_libretro.so;/usr/lib/libretro/vbam_libretro.so;"

I visit the Settings->Playlist, and quit RA. My settings become:

playlist_names = "Nintendo - Game Boy Advance.lpl;Nintendo - Game Boy.lpl;"
playlist_cores = "/usr/lib/libretro/vbam_libretro.so;DETECT;"

A value is lost

andres-asm commented 9 years ago

I think the playlist stuff could use a few enhancements, something like this could work:

kivutar commented 9 years ago

The playlists have settings now, so hopefully using Y will not be needed.

inactive123 commented 9 years ago

This can be closed now I think.