From 2111e4dd92d87926edaccf280968462037d2d306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 12 Mar 2017 14:32:01 +0100 Subject: [PATCH] IOS/ES: Fix GetStoredContentsFromTMD We were checking for the wrong files (title content directory instead of checking whether the content files themselves exist)... Whoops! --- Source/Core/Core/IOS/ES/ES.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/IOS/ES/ES.cpp b/Source/Core/Core/IOS/ES/ES.cpp index 8a71a20291..5528cf1f97 100644 --- a/Source/Core/Core/IOS/ES/ES.cpp +++ b/Source/Core/Core/IOS/ES/ES.cpp @@ -758,7 +758,8 @@ static std::vector GetStoredContentsFromTMD(const IOS::ES::TMD return path != "unk" && File::Exists(path); } return File::Exists( - Common::GetTitleContentPath(tmd.GetTitleId(), Common::FROM_SESSION_ROOT)); + Common::GetTitleContentPath(tmd.GetTitleId(), Common::FROM_SESSION_ROOT) + + StringFromFormat("%08x.app", content.id)); }); return stored_contents;