(360) Filebrowser open crash fix - was happening because of

path issue - remove retroarch.cfg and try again
This commit is contained in:
twinaphex 2012-07-29 00:02:29 +02:00
parent 8451cf867e
commit c9607c4684

View File

@ -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;