From 22a27098a4f95639f0729d5ad4f7c51c888193fc Mon Sep 17 00:00:00 2001 From: Gliniak Date: Thu, 9 Nov 2023 17:54:33 +0100 Subject: [PATCH] [Patcher] Make hash mandatory. This is to prevent further frustration. "I added custom patch, removed hash and NOW MY GAME DOESN'T WORK! PLZ FIX" --- src/xenia/patcher/patch_db.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xenia/patcher/patch_db.cc b/src/xenia/patcher/patch_db.cc index e3acb573d..2f8f6bfad 100644 --- a/src/xenia/patcher/patch_db.cc +++ b/src/xenia/patcher/patch_db.cc @@ -201,8 +201,7 @@ std::vector PatchDB::GetTitlePatches( bool hash_exist = std::find(entry.hashes.cbegin(), entry.hashes.cend(), hash) != entry.hashes.cend(); - return entry.title_id == title_id && - (entry.hashes.empty() || hash_exist); + return entry.title_id == title_id && hash_exist; }); return title_patches;