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.
This commit is contained in:
Léo Lam 2017-06-11 22:08:27 +02:00
parent 8a49e1f7db
commit 54025da00f
1 changed files with 3 additions and 0 deletions

View File

@ -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<u8>& tmd_bytes = tmd.GetBytes();
if (!tmd_file.WriteBytes(tmd_bytes.data(), tmd_bytes.size()))