(retroarch.c) Use stderr as log file by default

This commit is contained in:
Higor Eurípedes 2015-06-12 13:01:38 -03:00
parent 805ac369c0
commit a264720bb6
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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)