Game DB: Override roms with NES 2.0 headers

Some roms are being distributed with invalid NES 2.0 headers, so this is needed to fix them
This commit is contained in:
Sour 2020-05-02 12:25:27 -04:00
parent 66de1ceee1
commit 7ab9b50ad5

View file

@ -127,6 +127,6 @@ void iNesLoader::LoadRom(RomData& romData, vector<uint8_t>& romFile, NESHeader *
}
if(!_checkOnly) {
GameDatabase::SetGameInfo(romData.Info.Hash.PrgChrCrc32, romData, GameDatabase::IsEnabled() && header.GetRomHeaderVersion() != RomHeaderVersion::Nes2_0, preloadedHeader != nullptr);
GameDatabase::SetGameInfo(romData.Info.Hash.PrgChrCrc32, romData, GameDatabase::IsEnabled(), preloadedHeader != nullptr);
}
}