mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +00:00
Have system_process_args use MODE_LOAD_GAME from now on
This commit is contained in:
parent
5aa4101620
commit
b459d59793
@ -341,14 +341,11 @@ static int system_process_args(int argc, char *argv[])
|
||||
|
||||
if (argc > 2 && argv[1] != NULL && argv[2] != NULL)
|
||||
{
|
||||
char rom[PATH_MAX];
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_EXTLAUNCH_CHANNEL);
|
||||
snprintf(rom, sizeof(rom), "%s%s", argv[1], argv[2]);
|
||||
snprintf(g_extern.fullpath, sizeof(g_extern.fullpath),
|
||||
"%s%s", argv[1], argv[2]);
|
||||
|
||||
strlcpy(g_extern.fullpath, rom, sizeof(g_extern.fullpath));
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_LOAD_GAME);
|
||||
g_extern.lifecycle_mode_state &= ~(1ULL << MODE_MENU);
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_INIT);
|
||||
ret = 1;
|
||||
}
|
||||
else
|
||||
|
@ -350,8 +350,7 @@ static int system_process_args(int argc, char *argv[])
|
||||
{
|
||||
RARCH_LOG("Started from multiMAN, will auto-start game.\n");
|
||||
strlcpy(g_extern.fullpath, argv[1], sizeof(g_extern.fullpath));
|
||||
g_extern.lifecycle_mode_state &= ~(1ULL << MODE_MENU);
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_INIT);
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_LOAD_GAME);
|
||||
ret = 1;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user