From a30f7dc79f6b8d0e2abd01dc074c009541e12659 Mon Sep 17 00:00:00 2001
From: Rinnegatamante <rinnegatamante@gmail.com>
Date: Tue, 12 Nov 2019 19:46:10 +0100
Subject: [PATCH] [VITA/PSP] Fix logging to file not working.

---
 frontend/drivers/platform_psp.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/frontend/drivers/platform_psp.c b/frontend/drivers/platform_psp.c
index fb94781c2c..9935e40250 100644
--- a/frontend/drivers/platform_psp.c
+++ b/frontend/drivers/platform_psp.c
@@ -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
 }