Refactor main_load_content

This commit is contained in:
twinaphex 2014-08-03 02:09:41 +02:00
parent 07d00553c8
commit 675b8370e3

View File

@ -276,13 +276,12 @@ static void check_defaults_dirs(void)
bool main_load_content(int argc, char **argv, args_type() args, environment_get_t environ_get,
process_args_t process_args)
{
bool retval = true;
int *rarch_argc_ptr;
char **rarch_argv_ptr;
struct rarch_main_wrap *wrap_args;
bool retval = true;
int i, ret, rarch_argc = 0;
char *rarch_argv[MAX_ARGS] = {NULL};
char *argv_copy[MAX_ARGS] = {NULL};
char *rarch_argv[MAX_ARGS], *argv_copy[MAX_ARGS] = {NULL};
rarch_argv_ptr = (char**)argv;
rarch_argc_ptr = (int*)&argc;