mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(retroarch.c) Use stderr as log file by default
This commit is contained in:
parent
805ac369c0
commit
a264720bb6
2 changed files with 2 additions and 1 deletions
|
@ -1550,7 +1550,7 @@ bool event_command(enum event_command cmd)
|
|||
if (!global)
|
||||
break;
|
||||
|
||||
if (global->log_file)
|
||||
if (global->log_file && global->log_file != stderr)
|
||||
fclose(global->log_file);
|
||||
global->log_file = NULL;
|
||||
break;
|
||||
|
|
|
@ -1131,6 +1131,7 @@ int rarch_main_init(int argc, char *argv[])
|
|||
return sjlj_ret;
|
||||
}
|
||||
global->error_in_init = true;
|
||||
global->log_file = stderr;
|
||||
parse_input(argc, argv);
|
||||
|
||||
if (global->verbosity)
|
||||
|
|
Loading…
Add table
Reference in a new issue