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:
parent
8a49e1f7db
commit
54025da00f
|
@ -653,6 +653,9 @@ s32 ES::DIVerify(const IOS::ES::TMDReader& tmd, const IOS::ES::TicketReader& tic
|
||||||
|
|
||||||
if (!File::Exists(tmd_path))
|
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");
|
File::IOFile tmd_file(tmd_path, "wb");
|
||||||
const std::vector<u8>& tmd_bytes = tmd.GetBytes();
|
const std::vector<u8>& tmd_bytes = tmd.GetBytes();
|
||||||
if (!tmd_file.WriteBytes(tmd_bytes.data(), tmd_bytes.size()))
|
if (!tmd_file.WriteBytes(tmd_bytes.data(), tmd_bytes.size()))
|
||||||
|
|
Loading…
Reference in New Issue