From 54025da00f80fe78b1ecba133a97c557e2e96491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 11 Jun 2017 22:08:27 +0200 Subject: [PATCH] IOS/ES: Add note about verification in DiVerify We probably don't want to verify containers there because it might result in patched/custom games failing the check. --- Source/Core/Core/IOS/ES/ES.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/Core/IOS/ES/ES.cpp b/Source/Core/Core/IOS/ES/ES.cpp index d0d3542cc5..1053c0dbc1 100644 --- a/Source/Core/Core/IOS/ES/ES.cpp +++ b/Source/Core/Core/IOS/ES/ES.cpp @@ -653,6 +653,9 @@ s32 ES::DIVerify(const IOS::ES::TMDReader& tmd, const IOS::ES::TicketReader& tic if (!File::Exists(tmd_path)) { + // XXX: We are supposed to verify the TMD and ticket here, but cannot because + // this may cause issues with custom/patched games. + File::IOFile tmd_file(tmd_path, "wb"); const std::vector& tmd_bytes = tmd.GetBytes(); if (!tmd_file.WriteBytes(tmd_bytes.data(), tmd_bytes.size()))