From 7775471a8f881a39b6dbe0c2795cf06f62e1882d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 31 Jul 2016 21:24:16 +0200 Subject: [PATCH] (Salamander) If core_path is 'builtin', just fall back and start up first libretro core executable we can find --- frontend/frontend_salamander.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/frontend_salamander.c b/frontend/frontend_salamander.c index dc8373469e..6b8713bea2 100644 --- a/frontend/frontend_salamander.c +++ b/frontend/frontend_salamander.c @@ -128,7 +128,9 @@ static void salamander_init(char *s, size_t len) { config_get_array(conf, "libretro_path", tmp_str, sizeof(tmp_str)); config_file_free(conf); - strlcpy(s, tmp_str, len); + + if (strcmp(tmp_str, "builtin") != 0) + strlcpy(s, tmp_str, len); } #ifdef GEKKO /* stupid libfat bug or something; sometimes it says