From c9607c4684a01894301e80b1673561852f7aaccb Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 29 Jul 2012 00:02:29 +0200 Subject: [PATCH] (360) Filebrowser open crash fix - was happening because of path issue - remove retroarch.cfg and try again --- console/rarch_console_settings.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/console/rarch_console_settings.c b/console/rarch_console_settings.c index a1bd960f8b..f9316c6777 100644 --- a/console/rarch_console_settings.c +++ b/console/rarch_console_settings.c @@ -358,7 +358,12 @@ void rarch_settings_set_default (const input_driver_t *input) g_console.mode_switch = MODE_MENU; g_console.screen_orientation = ORIENTATION_NORMAL; g_console.current_resolution_id = 0; +#ifdef _XBOX360 + //Ugly but necessary hack + strlcpy(g_console.default_rom_startup_dir, "game:", sizeof(g_console.default_rom_startup_dir)); +#else strlcpy(g_console.default_rom_startup_dir, default_paths.filesystem_root_dir, sizeof(g_console.default_rom_startup_dir)); +#endif strlcpy(g_console.default_savestate_dir, default_paths.savestate_dir, sizeof(g_console.default_savestate_dir)); strlcpy(g_console.default_sram_dir, default_paths.sram_dir, sizeof(g_console.default_sram_dir)); g_console.aspect_ratio_index = 0;