Disable Disc update redirection for manual ELF loader (#12381)

This commit is contained in:
Elad Ashkenazi 2022-07-22 21:35:15 +03:00 committed by GitHub
parent f4f9c1865e
commit 0ba0f9d2b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1552,7 +1552,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
// Check game updates // Check game updates
const std::string hdd0_boot = hdd0_game + m_title_id + "/USRDIR/EBOOT.BIN"; const std::string hdd0_boot = hdd0_game + m_title_id + "/USRDIR/EBOOT.BIN";
if (!m_ar && disc.empty() && !bdvd_dir.empty() && GetCallbacks().resolve_path(m_path) != GetCallbacks().resolve_path(hdd0_boot) && fs::is_file(hdd0_boot)) if (!m_ar && disc.empty() && !bdvd_dir.empty() && !title_id.empty() && resolved_path == GetCallbacks().resolve_path(vfs::get("/dev_bdvd/PS3_GAME/USRDIR/EBOOT.BIN")) && resolved_path != GetCallbacks().resolve_path(hdd0_boot) && fs::is_file(hdd0_boot))
{ {
// Booting game update // Booting game update
sys_log.success("Updates found at /dev_hdd0/game/%s/", m_title_id); sys_log.success("Updates found at /dev_hdd0/game/%s/", m_title_id);