mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
cli: fix title_path
This commit is contained in:
parent
a60ea61291
commit
8399516475
1 changed files with 3 additions and 3 deletions
|
@ -1017,10 +1017,10 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
||||||
// const overload does not create new node on failure
|
// const overload does not create new node on failure
|
||||||
if (auto node = std::as_const(games)[m_title_id])
|
if (auto node = std::as_const(games)[m_title_id])
|
||||||
{
|
{
|
||||||
std::string title_path = node.Scalar();
|
title_path = node.Scalar();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto&& test_path :
|
for (std::string test_path :
|
||||||
{
|
{
|
||||||
rpcs3::utils::get_hdd0_dir() + "game/" + m_title_id + "/USRDIR/EBOOT.BIN"
|
rpcs3::utils::get_hdd0_dir() + "game/" + m_title_id + "/USRDIR/EBOOT.BIN"
|
||||||
, tail.empty() ? "" : title_path + tail + "/USRDIR/EBOOT.BIN"
|
, tail.empty() ? "" : title_path + tail + "/USRDIR/EBOOT.BIN"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue