mirror of
https://github.com/libretro/RetroArch
synced 2025-01-25 15:35:29 +00:00
(360) Build fix
(XDK) Fix system_dir setting
This commit is contained in:
parent
3a661bff71
commit
243944ac62
@ -546,8 +546,8 @@ HRESULT CRetroArchFileBrowser::OnNotifyPress( HXUIOBJ hObjPressed, BOOL& bHandle
|
||||
const char *strbuffer = rarch_convert_wchar_to_const_char((const wchar_t *)m_romlist.GetText(index));
|
||||
if(path_file_exists(browser->current_dir.list->elems[index].data))
|
||||
{
|
||||
snprintf(path_temp, sizeof(path_temp), "%s\\%s", filebrowser_get_current_dir(browser), strbuffer);
|
||||
rarch_console_load_game_wrap(path_temp, S_DELAY_45);
|
||||
snprintf(path, sizeof(path), "%s\\%s", filebrowser_get_current_dir(browser), strbuffer);
|
||||
rarch_console_load_game_wrap(path, S_DELAY_45);
|
||||
}
|
||||
else if(browser->current_dir.list->elems[index].attr.b)
|
||||
{
|
||||
|
@ -127,7 +127,7 @@ int rarch_extract_zipfile(const char *zip_path, const char *current_dir, char *f
|
||||
static char write_filename[PATH_MAX];
|
||||
char slash[6];
|
||||
#ifdef _XBOX
|
||||
snprintf(slash, sizeof(slash), "\0");
|
||||
snprintf(slash, sizeof(slash), "\\");
|
||||
#else
|
||||
snprintf(slash, sizeof(slash), "/");
|
||||
#endif
|
||||
|
@ -103,7 +103,7 @@ static void get_environment_settings (void)
|
||||
#if defined(_XBOX1)
|
||||
/* FIXME: Hardcoded */
|
||||
strlcpy(default_paths.config_file, "D:\\retroarch.cfg", sizeof(default_paths.config_file));
|
||||
strlcpy(g_settings.system_directory, "D:\\system\\", sizeof(g_settings.system_directory));
|
||||
strlcpy(default_paths.system_dir, "D:\\system\\", sizeof(default_paths.system_dir));
|
||||
strlcpy(default_paths.filesystem_root_dir, "D:\\", sizeof(default_paths.filesystem_root_dir));
|
||||
strlcpy(default_paths.executable_extension, ".xbe", sizeof(default_paths.executable_extension));
|
||||
#elif defined(_XBOX360)
|
||||
@ -113,7 +113,7 @@ static void get_environment_settings (void)
|
||||
strlcpy(default_paths.filesystem_root_dir, "game:\\", sizeof(default_paths.filesystem_root_dir));
|
||||
strlcpy(default_paths.shader_file, "game:\\media\\shaders\\stock.cg", sizeof(default_paths.shader_file));
|
||||
strlcpy(default_paths.config_file, "game:\\retroarch.cfg", sizeof(default_paths.config_file));
|
||||
strlcpy(g_settings.system_directory, "game:\\system\\", sizeof(g_settings.system_directory));
|
||||
strlcpy(default_paths.system_dir, "game:\\system\\", sizeof(default_paths.system_dir));
|
||||
strlcpy(default_paths.executable_extension, ".xex", sizeof(default_paths.executable_extension));
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user