mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Merge pull request #3455 from Sonicadvance1/GC_adapter_android
[Android] Add support for the Wii U Gamecube adapter under Android.
This commit is contained in:
@ -254,6 +254,8 @@ void SConfig::SaveCoreSettings(IniFile& ini)
|
||||
for (int i = 0; i < MAX_SI_CHANNELS; ++i)
|
||||
{
|
||||
core->Set(StringFromFormat("SIDevice%i", i), m_SIDevice[i]);
|
||||
core->Set(StringFromFormat("AdapterRumble%i", i), m_AdapterRumble[i]);
|
||||
core->Set(StringFromFormat("SimulateKonga%i", i), m_AdapterKonga[i]);
|
||||
}
|
||||
core->Set("WiiSDCard", m_WiiSDCard);
|
||||
core->Set("WiiKeyboard", m_WiiKeyboard);
|
||||
@ -267,8 +269,6 @@ void SConfig::SaveCoreSettings(IniFile& ini)
|
||||
core->Set("OverclockEnable", m_OCEnable);
|
||||
core->Set("GFXBackend", m_strVideoBackend);
|
||||
core->Set("GPUDeterminismMode", m_strGPUDeterminismMode);
|
||||
core->Set("GameCubeAdapter", m_GameCubeAdapter);
|
||||
core->Set("AdapterRumble", m_AdapterRumble);
|
||||
core->Set("PerfMapDir", m_perfDir);
|
||||
}
|
||||
|
||||
@ -509,6 +509,8 @@ void SConfig::LoadCoreSettings(IniFile& ini)
|
||||
for (int i = 0; i < MAX_SI_CHANNELS; ++i)
|
||||
{
|
||||
core->Get(StringFromFormat("SIDevice%i", i), (u32*)&m_SIDevice[i], (i == 0) ? SIDEVICE_GC_CONTROLLER : SIDEVICE_NONE);
|
||||
core->Get(StringFromFormat("AdapterRumble%i", i), &m_AdapterRumble[i], true);
|
||||
core->Get(StringFromFormat("SimulateKonga%i", i), &m_AdapterKonga[i], false);
|
||||
}
|
||||
core->Get("WiiSDCard", &m_WiiSDCard, false);
|
||||
core->Get("WiiKeyboard", &m_WiiKeyboard, false);
|
||||
@ -532,8 +534,6 @@ void SConfig::LoadCoreSettings(IniFile& ini)
|
||||
core->Get("FrameSkip", &m_FrameSkip, 0);
|
||||
core->Get("GFXBackend", &m_strVideoBackend, "");
|
||||
core->Get("GPUDeterminismMode", &m_strGPUDeterminismMode, "auto");
|
||||
core->Get("GameCubeAdapter", &m_GameCubeAdapter, false);
|
||||
core->Get("AdapterRumble", &m_AdapterRumble, true);
|
||||
core->Get("PerfMapDir", &m_perfDir, "");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user