Movies: Allow roms with a different hash to be used to playback a movie (temporary solution)

This commit is contained in:
Sour 2018-07-04 20:10:15 -04:00
parent 66ba8df4ec
commit a4ed758202

View File

@ -171,6 +171,12 @@ bool MesenMovie::LoadGame()
//string patchFileSha1 = LoadString(_settings, MovieKeys::PatchFileSha1);
//string patchedRomSha1 = LoadString(_settings, MovieKeys::PatchedRomSha1);
if(EmulationSettings::CheckFlag(EmulationFlags::AllowMismatchingSaveState) && Console::GetMapperInfo().RomName == gameFile) {
//Loaded game has the right name, and we don't want to validate the hash values
Console::GetInstance()->PowerCycle();
return true;
}
HashInfo hashInfo;
hashInfo.Sha1Hash = sha1Hash;