Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit a4ed758

Browse files
committed
Movies: Allow roms with a different hash to be used to playback a movie (temporary solution)
1 parent 66ba8df commit a4ed758

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Core/MesenMovie.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ bool MesenMovie::LoadGame()
171171
//string patchFileSha1 = LoadString(_settings, MovieKeys::PatchFileSha1);
172172
//string patchedRomSha1 = LoadString(_settings, MovieKeys::PatchedRomSha1);
173173

174+
if(EmulationSettings::CheckFlag(EmulationFlags::AllowMismatchingSaveState) && Console::GetMapperInfo().RomName == gameFile) {
175+
//Loaded game has the right name, and we don't want to validate the hash values
176+
Console::GetInstance()->PowerCycle();
177+
return true;
178+
}
179+
174180
HashInfo hashInfo;
175181
hashInfo.Sha1Hash = sha1Hash;
176182

0 commit comments

Comments
 (0)