IR widget is now a rectangle

This commit is contained in:
Rukai 2018-02-06 22:10:28 +11:00 committed by Lucas Kent
parent d07e212cef
commit a8d482d8e1
11 changed files with 218 additions and 50 deletions

View file

@ -1099,7 +1099,7 @@ void MainWindow::OnExportRecording()
void MainWindow::ShowTASInput()
{
for (int i = 0; i < 4; i++)
for (int i = 0; i < num_gc_controllers; i++)
{
if (SConfig::GetInstance().m_SIDevice[i] != SerialInterface::SIDEVICE_NONE &&
SConfig::GetInstance().m_SIDevice[i] != SerialInterface::SIDEVICE_GC_GBA)
@ -1110,7 +1110,7 @@ void MainWindow::ShowTASInput()
}
}
for (int i = 0; i < 4; i++)
for (int i = 0; i < num_wii_controllers; i++)
{
if (g_wiimote_sources[i] == WIIMOTE_SRC_EMU &&
(!Core::IsRunning() || SConfig::GetInstance().bWii))