From 31992fb3987b04cd4e1cf2e4bdb243fae4bd3df2 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Sun, 26 Dec 2021 08:43:06 +0000 Subject: [PATCH] GameDB: Fix loading patches for some games --- pcsx2/GameDatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GameDatabase.cpp b/pcsx2/GameDatabase.cpp index fe539f64fa..78bf83557f 100644 --- a/pcsx2/GameDatabase.cpp +++ b/pcsx2/GameDatabase.cpp @@ -209,7 +209,7 @@ void parseAndInsert(const std::string_view& serial, const c4::yml::NodeRef& node { for (const ryml::NodeRef& n : node["patches"].children()) { - auto crc = std::string(n.key().str, n.key().len); + auto crc = StringUtil::toLower(std::string(n.key().str, n.key().len)); if (gameEntry.patches.count(crc) == 1) { Console.Error(fmt::format("[GameDB] Duplicate CRC '{}' found for serial: '{}'. Skipping, CRCs are case-insensitive!", crc, serial));