mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 10:10:12 +01:00
GameDB: Fix loading patches for some games
This commit is contained in:
1 parent
dc65599fae
commit
31992fb398
1 file changed
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user