mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
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
|
||||
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 (boot_filename.empty())
|
||||
|
|
Loading…
Reference in a new issue