Updated retrolaunch

* Make core name fully explicit since it might not follow convention
* Add missing entries in for sega cd and pce cd in cores.conf
* Add support for n64 core autoselection

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
This commit is contained in:
Saggi Mizrahi 2013-09-20 21:43:28 +03:00
parent a0e8f7ce13
commit b466f4ba83
2 changed files with 19 additions and 14 deletions

View File

@ -1,15 +1,19 @@
# Core preferences, cores are ordered by preference. If a core doesn't exist ; # Core preferences, cores are ordered by preference. If a core doesn't exist ;
# or is marked as broken in launch.conf the next in line will be used. ; # or is marked as broken in launch.conf the next in line will be used. ;
"ps1" mednafen-psx pcsxr ; "ps1" mednafen_psx_libretro pcsx_rearmed_libretro ;
"smd" genplus ; "smd" genesis_plus_gx_libretro ;
"nes" fceu bnes nestopia quicknes ; "nes" bnes_libretro fceumm_libretro nestopia_libretro quicknes_libretro ;
"gba" vba ; "gba" vba_next_libretro mednafen_gba_libretro ;
"a26" stella ; "npg" mednafen_ngp_libretro ;
"snes" snes9x snes9x-next bsnes-compat bsnes-balanced bsnes-accuracy ; "a26" stella_libretro ;
"gbc" gambatte ; "snes" snes9x_libretro snes9x_next_libretro mednafen_snes_libretro bsnes_libretro_performance bsnes_libretro_balanced bsnes_libretro_accuracy;
"gb" gambatte ; "gbc" gambatte_libretro ;
"gg" genplus ; "gb" gambatte_libretro ;
"nds" desmume ; "gg" genesis_plus_gx_libretro ;
"pce" mednafen-pce-fast ; "nds" desmume_libretro ;
"sms" genplus ; "pce" mednafen_pce_fast_libretro ;
"wswan" mednafen-wswan ; "pcecd" mednafen_pce_fast_libretro ;
"sms" genesis_plus_gx_libretro ;
"scd" genesis_plus_gx_libretro ;
"wswan" mednafen_wswan_libretro ;
"n64" mupen64plus_libretro ;

View File

@ -230,6 +230,7 @@ const char *SUFFIX_MATCH[] = {
".smd", "smd", ".smd", "smd",
".sms", "sms", ".sms", "sms",
".wsc", "wswan", ".wsc", "wswan",
".z64", "n64",
NULL NULL
}; };
@ -342,7 +343,7 @@ static int select_core(char *core_path, size_t max_len,
goto clean; goto clean;
success: success:
snprintf(core_path, max_len, "./cores/libretro-%s.so", token); snprintf(core_path, max_len, "./cores/%s.so", token);
rv = 0; rv = 0;
clean: clean:
close(fd); close(fd);