mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Fix VFS regression
Implements cfg_mode
This commit is contained in:
parent
da91a841b7
commit
8f1dc7a2d4
8 changed files with 100 additions and 48 deletions
|
@ -920,7 +920,7 @@ int main(int argc, char** argv)
|
|||
}
|
||||
}
|
||||
|
||||
std::string config_path = cfg_keys::title_id;
|
||||
std::string config_path;
|
||||
|
||||
if (parser.isSet(arg_config))
|
||||
{
|
||||
|
@ -938,7 +938,9 @@ int main(int argc, char** argv)
|
|||
Emu.argv = std::move(rpcs3_argv);
|
||||
Emu.SetForceBoot(true);
|
||||
|
||||
if (const game_boot_result error = Emu.BootGame(path, "", false, false, config_path); error != game_boot_result::no_errors)
|
||||
const cfg_mode config_mode = config_path.empty() ? cfg_mode::custom : cfg_mode::config_override;
|
||||
|
||||
if (const game_boot_result error = Emu.BootGame(path, "", false, false, config_mode, config_path); error != game_boot_result::no_errors)
|
||||
{
|
||||
sys_log.error("Booting '%s' with cli argument failed: reason: %s", path, error);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue