From 1b9c5546900b4dc45e6358e7a7df6f491392d601 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sat, 1 Sep 2012 06:57:57 +0200 Subject: [PATCH] (PS3 Salamander) Fix logic bug if libretro_path is empty --- ps3/salamander/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ps3/salamander/main.c b/ps3/salamander/main.c index 73522f1d8f..da0d836318 100644 --- a/ps3/salamander/main.c +++ b/ps3/salamander/main.c @@ -95,7 +95,7 @@ static void init_settings(void) snprintf(libretro_path, sizeof(libretro_path), tmp_str); } - if(!config_file_exists || strcmp(libretro_path, "") == 0) + if(!config_file_exists || !strcmp(libretro_path, "")) { find_and_set_first_file(); }