Get video backend name via g_video_backend->GetName() instead of sconfig for movies, since that can be wrong.
Also, I still can't code. Or even notice when something obviously doesn't work.
This commit is contained in:
parent
0fddc49b21
commit
3e40f28369
|
@ -1168,18 +1168,15 @@ void GetSettings()
|
||||||
bProgressive = SConfig::GetInstance().m_LocalCoreStartupParameter.bProgressive;
|
bProgressive = SConfig::GetInstance().m_LocalCoreStartupParameter.bProgressive;
|
||||||
bDSPHLE = SConfig::GetInstance().m_LocalCoreStartupParameter.bDSPHLE;
|
bDSPHLE = SConfig::GetInstance().m_LocalCoreStartupParameter.bDSPHLE;
|
||||||
bFastDiscSpeed = SConfig::GetInstance().m_LocalCoreStartupParameter.bFastDiscSpeed;
|
bFastDiscSpeed = SConfig::GetInstance().m_LocalCoreStartupParameter.bFastDiscSpeed;
|
||||||
videoBackend = SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoBackend;
|
videoBackend = g_video_backend->GetName();
|
||||||
iCPUCore = SConfig::GetInstance().m_LocalCoreStartupParameter.iCPUCore;
|
iCPUCore = SConfig::GetInstance().m_LocalCoreStartupParameter.iCPUCore;
|
||||||
if (!Core::g_CoreStartupParameter.bWii)
|
if (!Core::g_CoreStartupParameter.bWii)
|
||||||
g_bClearSave = !File::Exists(SConfig::GetInstance().m_strMemoryCardA);
|
g_bClearSave = !File::Exists(SConfig::GetInstance().m_strMemoryCardA);
|
||||||
bMemcard = SConfig::GetInstance().m_EXIDevice[0] == EXIDEVICE_MEMORYCARD;
|
bMemcard = SConfig::GetInstance().m_EXIDevice[0] == EXIDEVICE_MEMORYCARD;
|
||||||
|
|
||||||
int temp;
|
for (int i = 0; i < 20; ++i)
|
||||||
|
|
||||||
for(int i = 0; i < 4; ++i )
|
|
||||||
{
|
{
|
||||||
sscanf(SCM_REV_STR + 2 * i, "%2x", &temp );
|
sscanf(SCM_REV_STR + 2 * i, "%02x", &revision[i]);
|
||||||
revision[i] = temp;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue