mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
This time when you click "Cancel" in Wiimote dialog, all changes are really discarded.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4700 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -260,7 +260,7 @@ void WiimotePadConfigDialog::DoSave(bool ChangePad, int Slot)
|
||||
for(int i = 0; i < 1; i++) // Only got 1 wiimote yet
|
||||
SaveButtonMapping(i, true);
|
||||
// Save the settings for the current pad
|
||||
g_Config.Save(Slot);
|
||||
// g_Config.Save(Slot);
|
||||
// Now we can update the ID
|
||||
WiiMoteEmu::PadMapping[Page].ID = m_Joyname[Page]->GetSelection();
|
||||
}
|
||||
@ -269,7 +269,7 @@ void WiimotePadConfigDialog::DoSave(bool ChangePad, int Slot)
|
||||
// Update PadMapping[] from the GUI controls
|
||||
for(int i = 0; i < 1; i++) // Only got 1 wiimote yet
|
||||
SaveButtonMapping(i);
|
||||
g_Config.Save(Slot);
|
||||
// g_Config.Save(Slot);
|
||||
}
|
||||
|
||||
// Then change it back to ""
|
||||
@ -987,7 +987,7 @@ void WiimotePadConfigDialog::GeneralSettingsChanged(wxCommandEvent& event)
|
||||
SaveButtonMappingAll(Page);
|
||||
break;
|
||||
}
|
||||
g_Config.Save();
|
||||
// g_Config.Save();
|
||||
UpdateGUI();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user