mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-27 06:11:51 +00:00
(retroarch.c) Use stderr as log file by default
This commit is contained in:
parent
805ac369c0
commit
a264720bb6
@ -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…
x
Reference in New Issue
Block a user