mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Port Wiimote source settings to the new config system
This lets us finally get rid of BootManager's ConfigCache!
This commit is contained in:
@ -39,6 +39,7 @@
|
||||
#include "Core/CommonTitles.h"
|
||||
#include "Core/Config/MainSettings.h"
|
||||
#include "Core/Config/NetplaySettings.h"
|
||||
#include "Core/Config/WiimoteSettings.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/FreeLookManager.h"
|
||||
@ -1735,7 +1736,7 @@ void MainWindow::OnStartRecording()
|
||||
controllers[i] = Movie::ControllerType::GC;
|
||||
else
|
||||
controllers[i] = Movie::ControllerType::None;
|
||||
wiimotes[i] = WiimoteCommon::GetSource(i) != WiimoteSource::None;
|
||||
wiimotes[i] = Config::Get(Config::GetInfoForWiimoteSource(i)) != WiimoteSource::None;
|
||||
}
|
||||
|
||||
if (Movie::BeginRecordingInput(controllers, wiimotes))
|
||||
@ -1795,7 +1796,7 @@ void MainWindow::ShowTASInput()
|
||||
|
||||
for (int i = 0; i < num_wii_controllers; i++)
|
||||
{
|
||||
if (WiimoteCommon::GetSource(i) == WiimoteSource::Emulated &&
|
||||
if (Config::Get(Config::GetInfoForWiimoteSource(i)) == WiimoteSource::Emulated &&
|
||||
(!Core::IsRunning() || SConfig::GetInstance().bWii))
|
||||
{
|
||||
m_wii_tas_input_windows[i]->show();
|
||||
|
Reference in New Issue
Block a user