readd memory card detection for movie code. I deleted this before, intending to move it elsewhere, but never did
This commit is contained in:
parent
b2e2e49fe4
commit
4358f8384f
|
@ -387,6 +387,7 @@ bool BeginRecordingInput(int controllers)
|
||||||
videoBackend = SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoBackend;
|
videoBackend = SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoBackend;
|
||||||
iCPUCore = SConfig::GetInstance().m_LocalCoreStartupParameter.iCPUCore;
|
iCPUCore = SConfig::GetInstance().m_LocalCoreStartupParameter.iCPUCore;
|
||||||
bBlankMC = !File::Exists(SConfig::GetInstance().m_strMemoryCardA);
|
bBlankMC = !File::Exists(SConfig::GetInstance().m_strMemoryCardA);
|
||||||
|
bMemcard = SConfig::GetInstance().m_EXIDevice[0] == EXIDEVICE_MEMORYCARD;
|
||||||
|
|
||||||
delete [] tmpInput;
|
delete [] tmpInput;
|
||||||
tmpInput = new u8[MAX_DTM_LENGTH];
|
tmpInput = new u8[MAX_DTM_LENGTH];
|
||||||
|
@ -628,6 +629,8 @@ void ReadHeader()
|
||||||
bFastDiscSpeed = tmpHeader.bFastDiscSpeed;
|
bFastDiscSpeed = tmpHeader.bFastDiscSpeed;
|
||||||
iCPUCore = tmpHeader.CPUCore;
|
iCPUCore = tmpHeader.CPUCore;
|
||||||
bBlankMC = tmpHeader.bBlankMC;
|
bBlankMC = tmpHeader.bBlankMC;
|
||||||
|
bMemcard = tmpHeader.bMemcard;
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -639,6 +642,7 @@ void ReadHeader()
|
||||||
bFastDiscSpeed = SConfig::GetInstance().m_LocalCoreStartupParameter.bFastDiscSpeed;
|
bFastDiscSpeed = SConfig::GetInstance().m_LocalCoreStartupParameter.bFastDiscSpeed;
|
||||||
videoBackend = SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoBackend;
|
videoBackend = SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoBackend;
|
||||||
bBlankMC = !File::Exists(SConfig::GetInstance().m_strMemoryCardA);
|
bBlankMC = !File::Exists(SConfig::GetInstance().m_strMemoryCardA);
|
||||||
|
g_bMemcard = SConfig::GetInstance().m_EXIDevice[0] == EXIDEVICE_MEMORYCARD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue