mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +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;
|
global->inited.core.no_content = false;
|
||||||
#ifdef HAVE_DYNAMIC
|
|
||||||
global->inited.core.type = CORE_TYPE_DUMMY;
|
global->inited.core.type = CORE_TYPE_DUMMY;
|
||||||
#else
|
|
||||||
global->inited.core.type = CORE_TYPE_PLAIN;
|
|
||||||
#endif
|
|
||||||
*global->subsystem = '\0';
|
*global->subsystem = '\0';
|
||||||
global->has_set.save_path = false;
|
global->has_set.save_path = false;
|
||||||
global->has_set.state_path = false;
|
global->has_set.state_path = false;
|
||||||
@ -593,6 +589,9 @@ static void parse_input(int argc, char *argv[])
|
|||||||
|
|
||||||
global->overrides_active = false;
|
global->overrides_active = false;
|
||||||
|
|
||||||
|
if (argc < 2)
|
||||||
|
return;
|
||||||
|
|
||||||
/* Make sure we can call parse_input several times ... */
|
/* Make sure we can call parse_input several times ... */
|
||||||
optind = 0;
|
optind = 0;
|
||||||
optstring = "hs:fvS:A:c:U:DN:d:" BSV_MOVIE_ARG NETPLAY_ARG DYNAMIC_ARG FFMPEG_RECORD_ARG;
|
optstring = "hs:fvS:A:c:U:DN:d:" BSV_MOVIE_ARG NETPLAY_ARG DYNAMIC_ARG FFMPEG_RECORD_ARG;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user