Fixed compilation errors

This commit is contained in:
Sour 2018-07-08 10:46:04 -04:00
parent cf12bfaaac
commit 6fe1661e1d

View File

@ -13,6 +13,7 @@
#include "BatteryManager.h"
#include "VirtualFile.h"
#include "NotificationManager.h"
#include "RomData.h"
MesenMovie::MesenMovie(shared_ptr<Console> console)
{
@ -180,9 +181,9 @@ bool MesenMovie::LoadGame()
//string patchFileSha1 = LoadString(_settings, MovieKeys::PatchFileSha1);
//string patchedRomSha1 = LoadString(_settings, MovieKeys::PatchedRomSha1);
if(EmulationSettings::CheckFlag(EmulationFlags::AllowMismatchingSaveState) && Console::GetMapperInfo().RomName == gameFile) {
if(EmulationSettings::CheckFlag(EmulationFlags::AllowMismatchingSaveState) && _console->GetRomInfo().RomName == gameFile) {
//Loaded game has the right name, and we don't want to validate the hash values
Console::GetInstance()->PowerCycle();
_console->PowerCycle();
return true;
}