mirror of
https://github.com/libretro/Mesen.git
synced 2025-01-23 17:44:34 +00:00
Movies: Allow roms with a different hash to be used to playback a movie (temporary solution)
This commit is contained in:
parent
66ba8df4ec
commit
a4ed758202
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user