File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ static void list_game_ids();
157157static void list_worlds ();
158158static void setup_log_params (const Settings &cmd_args);
159159static bool create_userdata_path ();
160- static bool init_common (int *log_level, const Settings &cmd_args);
160+ static bool init_common (int *log_level, const Settings &cmd_args, int argc, char *argv[] );
161161static void startup_message ();
162162static bool read_config_file (const Settings &cmd_args);
163163static void init_debug_streams (int *log_level, const Settings &cmd_args);
@@ -831,7 +831,7 @@ int main(int argc, char *argv[])
831831 }
832832
833833 GameParams game_params;
834- if (!init_common (&game_params.log_level , cmd_args))
834+ if (!init_common (&game_params.log_level , cmd_args, argc, argv ))
835835 return 1 ;
836836
837837#ifndef __ANDROID__
@@ -1086,7 +1086,7 @@ static bool create_userdata_path()
10861086 return success;
10871087}
10881088
1089- static bool init_common (int *log_level, const Settings &cmd_args)
1089+ static bool init_common (int *log_level, const Settings &cmd_args, int argc, char *argv[] )
10901090{
10911091 startup_message ();
10921092 set_default_settings (g_settings);
You can’t perform that action at this time.
0 commit comments