From d0fff4a6255c8e261aa664f80313e22dec2315b8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 4 Jun 2014 23:20:16 +0200 Subject: [PATCH] (XDK) Some cleanups to find_and_set_first_file --- frontend/platform/platform_xdk.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/frontend/platform/platform_xdk.c b/frontend/platform/platform_xdk.c index 53f07ce401..ae0a3a564c 100644 --- a/frontend/platform/platform_xdk.c +++ b/frontend/platform/platform_xdk.c @@ -32,11 +32,6 @@ char libretro_path[512]; static void find_and_set_first_file(void) { -#ifndef IS_SALAMANDER - bool original_verbose = g_extern.verbose; - g_extern.verbose = true; -#endif - //Last fallback - we'll need to start the first executable file // we can find in the RetroArch cores directory @@ -52,7 +47,7 @@ static void find_and_set_first_file(void) if(first_file) { #ifdef _XBOX1 - fill_pathname_join(libretro_path, "D:", first_file, sizeof(libretro_path)); + fill_pathname_join(libretro_path, default_paths.core_dir, first_file, sizeof(libretro_path)); #else strlcpy(libretro_path, first_file, sizeof(libretro_path)); #endif @@ -60,10 +55,6 @@ static void find_and_set_first_file(void) } else RARCH_ERR("Failed last fallback - RetroArch Salamander will exit.\n"); - -#ifndef IS_SALAMANDER - g_extern.verbose = original_verbose; -#endif } static void frontend_xdk_salamander_init(void)