From a4ed7582025d24cf38edba4b343efa97ee033850 Mon Sep 17 00:00:00 2001 From: Sour Date: Wed, 4 Jul 2018 20:10:15 -0400 Subject: [PATCH] Movies: Allow roms with a different hash to be used to playback a movie (temporary solution) --- Core/MesenMovie.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Core/MesenMovie.cpp b/Core/MesenMovie.cpp index a4901e47..32a7b6b5 100644 --- a/Core/MesenMovie.cpp +++ b/Core/MesenMovie.cpp @@ -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;