mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Make calls to event_command(EVENT_CMD_LOG_FILE_DEINIT)
This commit is contained in:
parent
8a16897aea
commit
6f0425bdc3
@ -113,9 +113,7 @@ static void frontend_ctr_deinit(void *data)
|
||||
*verbose = true;
|
||||
|
||||
#ifdef HAVE_FILE_LOGGER
|
||||
if (global->log_file)
|
||||
fclose(global->log_file);
|
||||
global->log_file = NULL;
|
||||
event_command(EVENT_CMD_LOG_FILE_DEINIT);
|
||||
#endif
|
||||
|
||||
if(gfxBottomFramebuffers[0] == (u8*)currentConsole->frameBuffer)
|
||||
|
@ -165,14 +165,10 @@ static void frontend_psp_deinit(void *data)
|
||||
(void)data;
|
||||
#ifndef IS_SALAMANDER
|
||||
bool *verbose = retro_main_verbosity();
|
||||
global_t *global = global_get_ptr();
|
||||
|
||||
*verbose = false;
|
||||
|
||||
#ifdef HAVE_FILE_LOGGER
|
||||
if (global->log_file)
|
||||
fclose(global->log_file);
|
||||
global->log_file = NULL;
|
||||
event_command(EVENT_CMD_LOG_FILE_DEINIT);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user