CommonHostInterface: Fix -state command line parameter not working

This commit is contained in:
Connor McLaughlin 2020-05-08 00:57:46 +10:00
parent 85707f809c
commit c67e877d82
1 changed files with 1 additions and 1 deletions

View File

@ -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())