hotfix for infinite loop when booting game data

This commit is contained in:
Megamouse 2020-11-19 23:20:05 +01:00
parent 3087f15dd8
commit 5b207c3b95
1 changed files with 1 additions and 1 deletions

View File

@ -1494,7 +1494,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 (disc.empty() && !bdvd_dir.empty() && fs::is_file(hdd0_boot)) if (disc.empty() && !bdvd_dir.empty() && m_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);