Added a callback option instead of using a thread to read the GC adapter.

This commit is contained in:
skidau
2015-01-05 12:43:26 +11:00
parent 8e9ff68352
commit 519970c003
5 changed files with 93 additions and 11 deletions

View File

@ -64,6 +64,11 @@ public:
SConfig::GetInstance().m_GameCubeAdapter = event.IsChecked();
event.Skip();
}
void OnGameCubeAdapterThread(wxCommandEvent& event)
{
SConfig::GetInstance().m_GameCubeAdapterThread = event.IsChecked();
event.Skip();
}
private:
wxStaticBoxSizer* CreateGamecubeSizer();