Merge pull request #3589 from mathieui/gcadapter-recording

Fix recording a movie with the GC Adapter
This commit is contained in:
Pierre Bourdon
2016-03-03 02:02:29 +01:00
5 changed files with 42 additions and 4 deletions
+1 -1
View File
@@ -797,7 +797,7 @@ void CFrame::OnRecord(wxCommandEvent& WXUNUSED (event))
for (int i = 0; i < 4; i++)
{
if (SConfig::GetInstance().m_SIDevice[i] == SIDEVICE_GC_CONTROLLER || SConfig::GetInstance().m_SIDevice[i] == SIDEVICE_GC_TARUKONGA)
if (SIDevice_IsGCController(SConfig::GetInstance().m_SIDevice[i]))
controllers |= (1 << i);
if (g_wiimote_sources[i] != WIIMOTE_SRC_NONE)