CommonHostInterface: Fix -state command line parameter not working
This commit is contained in:
parent
85707f809c
commit
c67e877d82
|
@ -248,7 +248,7 @@ bool CommonHostInterface::ParseCommandLineParameters(int argc, char* argv[],
|
||||||
// init user directory early since we need it for save states
|
// init user directory early since we need it for save states
|
||||||
SetUserDirectory();
|
SetUserDirectory();
|
||||||
|
|
||||||
if (state_index.has_value() && !state_filename.empty())
|
if (state_index.has_value() && state_filename.empty())
|
||||||
{
|
{
|
||||||
// if a save state is provided, whether a boot filename was provided determines per-game/local
|
// if a save state is provided, whether a boot filename was provided determines per-game/local
|
||||||
if (boot_filename.empty())
|
if (boot_filename.empty())
|
||||||
|
|
Loading…
Reference in New Issue