Allow BootGame with indirect paths

This commit is contained in:
Megamouse 2021-02-01 21:47:11 +01:00
parent 08aaae7999
commit 2c32a721fc
2 changed files with 14 additions and 9 deletions

View file

@ -577,7 +577,7 @@ int main(int argc, char** argv)
Emu.argv = std::move(argv);
Emu.SetForceBoot(true);
if (const game_boot_result error = Emu.BootGame(path, "", true); error != game_boot_result::no_errors)
if (const game_boot_result error = Emu.BootGame(path, ""); error != game_boot_result::no_errors)
{
sys_log.error("Booting '%s' with cli argument failed: reason: %s", path, error);