mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
[VITA/PSP] Fix logging to file not working.
This commit is contained in:
parent
2b20c8d350
commit
a30f7dc79f
@ -89,18 +89,6 @@ static void frontend_psp_get_environment_settings(int *argc, char *argv[],
|
||||
|
||||
(void)args;
|
||||
|
||||
#ifndef IS_SALAMANDER
|
||||
#if defined(HAVE_LOGGER)
|
||||
logger_init();
|
||||
#elif defined(HAVE_FILE_LOGGER)
|
||||
#ifndef VITA
|
||||
retro_main_log_file_init("ms0:/temp/retroarch-log.txt", false);
|
||||
#else
|
||||
retro_main_log_file_init("ux0:/temp/retroarch-log.txt", false);
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef VITA
|
||||
strlcpy(eboot_path, "app0:/", sizeof(eboot_path));
|
||||
strlcpy(g_defaults.dirs[DEFAULT_DIR_PORT], eboot_path, sizeof(g_defaults.dirs[DEFAULT_DIR_PORT]));
|
||||
@ -245,10 +233,6 @@ static void frontend_psp_deinit(void *data)
|
||||
(void)data;
|
||||
#ifndef IS_SALAMANDER
|
||||
verbosity_disable();
|
||||
#ifdef HAVE_FILE_LOGGER
|
||||
command_event(CMD_EVENT_LOG_FILE_DEINIT, NULL);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user