Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Get video backend name via g_video_backend->GetName() instead of scon…
…fig for movies, since that can be wrong.

Also, I still can't code. Or even notice when something obviously doesn't work.
  • Loading branch information
RachelBryk committed Jun 11, 2013
1 parent 0fddc49 commit 3e40f28
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Source/Core/Core/Src/Movie.cpp
Expand Up @@ -1168,18 +1168,15 @@ void GetSettings()
bProgressive = SConfig::GetInstance().m_LocalCoreStartupParameter.bProgressive;
bDSPHLE = SConfig::GetInstance().m_LocalCoreStartupParameter.bDSPHLE;
bFastDiscSpeed = SConfig::GetInstance().m_LocalCoreStartupParameter.bFastDiscSpeed;
videoBackend = SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoBackend;
videoBackend = g_video_backend->GetName();
iCPUCore = SConfig::GetInstance().m_LocalCoreStartupParameter.iCPUCore;
if (!Core::g_CoreStartupParameter.bWii)
g_bClearSave = !File::Exists(SConfig::GetInstance().m_strMemoryCardA);
bMemcard = SConfig::GetInstance().m_EXIDevice[0] == EXIDEVICE_MEMORYCARD;

int temp;

for(int i = 0; i < 4; ++i )
for (int i = 0; i < 20; ++i)
{
sscanf(SCM_REV_STR + 2 * i, "%2x", &temp );
revision[i] = temp;
sscanf(SCM_REV_STR + 2 * i, "%02x", &revision[i]);
}
}

Expand Down

0 comments on commit 3e40f28

Please sign in to comment.