Game DB: Updated to latest version of Nes20 DB

This commit is contained in:
Sour 2020-05-02 13:06:20 -04:00
parent 7ab9b50ad5
commit 9772aa006f
4 changed files with 3319 additions and 400 deletions

View file

@ -269,6 +269,8 @@ void GameDatabase::SetGameInfo(uint32_t romCrc, RomData &romData, bool updateRom
case 'h': msg += "Horizontal"; break;
case 'v': msg += "Vertical"; break;
case '4': msg += "4 Screens"; break;
case '0': msg += "Screen A only"; break;
case '1': msg += "Screen B only"; break;
}
MessageManager::Log(msg);
}
@ -335,6 +337,8 @@ void GameDatabase::UpdateRomData(GameInfo &info, RomData &romData)
case 'h': romData.Info.Mirroring = MirroringType::Horizontal; break;
case 'v': romData.Info.Mirroring = MirroringType::Vertical; break;
case '4': romData.Info.Mirroring = MirroringType::FourScreens; break;
case '0': romData.Info.Mirroring = MirroringType::ScreenAOnly; break;
case '1': romData.Info.Mirroring = MirroringType::ScreenBOnly; break;
}
}
}

View file

@ -30,11 +30,16 @@ protected:
SelectPRGPage(1, -1);
_enableMirroringBit = false;
switch(_romInfo.NesHeader.Byte6 & 0x09) {
case 0: SetMirroringType(MirroringType::Horizontal); break;
case 1: SetMirroringType(MirroringType::Vertical); break;
case 8: SetMirroringType(MirroringType::ScreenAOnly); _enableMirroringBit = true; break;
case 9: SetMirroringType(MirroringType::FourScreens); break;
if(GetMirroringType() == MirroringType::ScreenAOnly || GetMirroringType() == MirroringType::ScreenBOnly) {
SetMirroringType(MirroringType::ScreenAOnly);
_enableMirroringBit = true;
} else {
switch(_romInfo.NesHeader.Byte6 & 0x09) {
case 0: SetMirroringType(MirroringType::Horizontal); break;
case 1: SetMirroringType(MirroringType::Vertical); break;
case 8: SetMirroringType(MirroringType::ScreenAOnly); _enableMirroringBit = true; break;
case 9: SetMirroringType(MirroringType::FourScreens); break;
}
}
if(GetMirroringType() == MirroringType::FourScreens && _chrRam && _chrRamSize >= 0x8000) {

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff