mirror of https://github.com/PCSX2/pcsx2.git
GameDB: Fix loading patches for some games
This commit is contained in:
parent
dc65599fae
commit
31992fb398
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue