(360) Set core_dir for 360

This commit is contained in:
twinaphex 2013-01-09 08:23:34 +01:00
parent 982187c5d8
commit 8e2bc57a45
2 changed files with 1 additions and 2 deletions

View File

@ -230,8 +230,6 @@ int main(int argc, char *argv[])
const char *extension = default_paths.executable_extension;
#if defined(_XBOX1)
snprintf(path_prefix, sizeof(path_prefix), "D:\\");
#elif defined(_XBOX360)
snprintf(path_prefix, sizeof(path_prefix), default_paths.filesystem_root_dir);
#else
snprintf(path_prefix, sizeof(path_prefix), "%s/", default_paths.core_dir);
#endif

View File

@ -333,6 +333,7 @@ static void get_environment_settings(int argc, char *argv[])
#ifdef HAVE_HDD_CACHE_PARTITION
strlcpy(default_paths.cache_dir, "cache:\\", sizeof(default_paths.cache_dir));
#endif
strlcpy(default_paths.core_dir, "game:\\", sizeof(default_paths.core_dir));
strlcpy(default_paths.filesystem_root_dir, "game:\\", sizeof(default_paths.filesystem_root_dir));
strlcpy(default_paths.screenshots_dir, "game:", sizeof(default_paths.screenshots_dir));
#ifdef IS_SALAMANDER