From 4358f8384f5b32cc70337e5506354c84391b2388 Mon Sep 17 00:00:00 2001 From: rog Date: Wed, 24 Oct 2012 15:16:41 -0400 Subject: [PATCH] readd memory card detection for movie code. I deleted this before, intending to move it elsewhere, but never did --- Source/Core/Core/Src/Movie.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/Core/Src/Movie.cpp b/Source/Core/Core/Src/Movie.cpp index 4c142a5820..a7129055f4 100644 --- a/Source/Core/Core/Src/Movie.cpp +++ b/Source/Core/Core/Src/Movie.cpp @@ -387,6 +387,7 @@ bool BeginRecordingInput(int controllers) videoBackend = SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoBackend; iCPUCore = SConfig::GetInstance().m_LocalCoreStartupParameter.iCPUCore; bBlankMC = !File::Exists(SConfig::GetInstance().m_strMemoryCardA); + bMemcard = SConfig::GetInstance().m_EXIDevice[0] == EXIDEVICE_MEMORYCARD; delete [] tmpInput; tmpInput = new u8[MAX_DTM_LENGTH]; @@ -628,6 +629,8 @@ void ReadHeader() bFastDiscSpeed = tmpHeader.bFastDiscSpeed; iCPUCore = tmpHeader.CPUCore; bBlankMC = tmpHeader.bBlankMC; + bMemcard = tmpHeader.bMemcard; + } else { @@ -639,6 +642,7 @@ void ReadHeader() bFastDiscSpeed = SConfig::GetInstance().m_LocalCoreStartupParameter.bFastDiscSpeed; videoBackend = SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoBackend; bBlankMC = !File::Exists(SConfig::GetInstance().m_strMemoryCardA); + g_bMemcard = SConfig::GetInstance().m_EXIDevice[0] == EXIDEVICE_MEMORYCARD; }