From 5b942f050812b7b6588fb00b1364c38c45ceab54 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Wed, 7 Jun 2023 19:56:37 +0200 Subject: [PATCH] Patches: Don't reload GameDB when crc is 0. Bios uses crc 0, spams useless log that bios serial is not in the gamedb. --- pcsx2/Patch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/Patch.cpp b/pcsx2/Patch.cpp index 4896399665..b5dc07f954 100644 --- a/pcsx2/Patch.cpp +++ b/pcsx2/Patch.cpp @@ -526,8 +526,8 @@ void Patch::ReloadPatches(std::string serial, u32 crc, bool force_reload_files, s_patches_crc = crc; s_patches_serial = std::move(serial); - // Skip reloading gamedb patches if the serial hasn't changed. - if (serial_changed) + // Skip reloading gamedb patches if the serial hasn't changed, or the crc is 0. + if (serial_changed && (s_patches_crc != 0)) { s_gamedb_patches.clear();