Clean up of new Plugin, get it compiling in Linux/OSX, Linux side, you need to add the Xlib portion to SConscript

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5258 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2010-04-01 02:59:40 +00:00
parent ca3f4a6494
commit d2cee0a869
12 changed files with 66 additions and 21 deletions

View File

@ -183,10 +183,12 @@ void GamepadPage::ClearAll( wxCommandEvent& event )
m_plugin.controls_crit.Enter(); // enter
// just load an empty ini section to clear everything :P
controller->LoadConfig( IniSection() );
IniSection Section = IniSection();
ControllerInterface Face = ControllerInterface();
controller->LoadConfig( Section );
// no point in using the real ControllerInterface i guess
controller->UpdateReferences( ControllerInterface() );
controller->UpdateReferences( Face );
UpdateGUI();