mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 06:40:18 +00:00
(Xbox 1) Fixes crashes when attempting to go to 'Libretro/paths'
dir selection screens - had to do with wrong path setting
This commit is contained in:
parent
8cfeeeb2b6
commit
fe62cf91a9
@ -720,6 +720,7 @@ static void browser_render(filebrowser_t * b, float current_x, float current_y,
|
||||
{
|
||||
DEVICE_CAST device_ptr = (DEVICE_CAST)driver.video_data;
|
||||
|
||||
RARCH_LOG("pointer b: %p\n", b);
|
||||
unsigned file_count = b->current_dir.list->size;
|
||||
unsigned int current_index, page_number, page_base, i;
|
||||
float currentX, currentY, ySpacing;
|
||||
|
@ -106,10 +106,10 @@ static void get_environment_settings (void)
|
||||
|
||||
#if defined(_XBOX1)
|
||||
/* FIXME: Hardcoded */
|
||||
strlcpy(default_paths.core_dir, "D:\\", sizeof(default_paths.core_dir));
|
||||
strlcpy(default_paths.core_dir, "D:", sizeof(default_paths.core_dir));
|
||||
strlcpy(default_paths.config_file, "D:\\retroarch.cfg", sizeof(default_paths.config_file));
|
||||
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.filesystem_root_dir, "D:", sizeof(default_paths.filesystem_root_dir));
|
||||
strlcpy(default_paths.executable_extension, ".xbe", sizeof(default_paths.executable_extension));
|
||||
strlcpy(default_paths.filebrowser_startup_dir, "D:", sizeof(default_paths.filebrowser_startup_dir));
|
||||
#elif defined(_XBOX360)
|
||||
|
Loading…
x
Reference in New Issue
Block a user