mirror of https://github.com/PCSX2/pcsx2.git
Patches: Don't reload GameDB when crc is 0.
Bios uses crc 0, spams useless log that bios serial is not in the gamedb.
This commit is contained in:
parent
b4b5b58e35
commit
5b942f0508
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue