mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Fix "retroarch --verbose".
We want to go straight to menu in this case, so make a special case for this fairly common pattern.
This commit is contained in:
parent
f1a5725f66
commit
fd443082a7
@ -682,7 +682,11 @@ static void parse_input(int argc, char *argv[])
|
||||
|
||||
runloop_ctl(RUNLOOP_CTL_UNSET_OVERRIDES_ACTIVE, NULL);
|
||||
|
||||
if (argc < 2)
|
||||
/* As a special case, allow retroarch --verbose to go straight to menu as well.
|
||||
* It's a fairly common pattern and verbose alone shouldn't alter other behavior. */
|
||||
if (argc < 2 ||
|
||||
(argc == 2 &&
|
||||
(!strcmp(argv[1], "--verbose") || !strcmp(argv[1], "-v"))))
|
||||
{
|
||||
current_core_type = CORE_TYPE_DUMMY;
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user