mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 10:20:21 +00:00
add back the early return when no arguments are provided.
This commit is contained in:
parent
750c134b86
commit
166261f08f
@ -563,11 +563,7 @@ static void parse_input(int argc, char *argv[])
|
||||
};
|
||||
|
||||
global->inited.core.no_content = false;
|
||||
#ifdef HAVE_DYNAMIC
|
||||
global->inited.core.type = CORE_TYPE_DUMMY;
|
||||
#else
|
||||
global->inited.core.type = CORE_TYPE_PLAIN;
|
||||
#endif
|
||||
*global->subsystem = '\0';
|
||||
global->has_set.save_path = false;
|
||||
global->has_set.state_path = false;
|
||||
@ -593,6 +589,9 @@ static void parse_input(int argc, char *argv[])
|
||||
|
||||
global->overrides_active = false;
|
||||
|
||||
if (argc < 2)
|
||||
return;
|
||||
|
||||
/* Make sure we can call parse_input several times ... */
|
||||
optind = 0;
|
||||
optstring = "hs:fvS:A:c:U:DN:d:" BSV_MOVIE_ARG NETPLAY_ARG DYNAMIC_ARG FFMPEG_RECORD_ARG;
|
||||
|
Loading…
Reference in New Issue
Block a user