wiimote build fixing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1822 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6053f26a4c
commit
8c8ec9d155
|
@ -25,6 +25,13 @@
|
||||||
#include "EmuSubroutines.h" // for WmRequestStatus
|
#include "EmuSubroutines.h" // for WmRequestStatus
|
||||||
/////////////////////////////
|
/////////////////////////////
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////
|
||||||
|
// Defines
|
||||||
|
// ------------
|
||||||
|
#ifndef _WIN32
|
||||||
|
#define Sleep(x) usleep(*1000)
|
||||||
|
#endif
|
||||||
|
/////////////////////////
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// Event table
|
// Event table
|
||||||
|
@ -176,7 +183,7 @@ void ConfigDialog::GeneralSettingsChanged(wxCommandEvent& event)
|
||||||
DoExtensionConnectedDisconnected();
|
DoExtensionConnectedDisconnected();
|
||||||
/* It doesn't seem to be needed but shouldn't it at least take 25 ms to
|
/* It doesn't seem to be needed but shouldn't it at least take 25 ms to
|
||||||
reconnect an extension after we disconnected another? */
|
reconnect an extension after we disconnected another? */
|
||||||
sleep(25);
|
Sleep(25);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update status
|
// Update status
|
||||||
|
|
|
@ -120,7 +120,7 @@ extern "C" void GetDllInfo (PLUGIN_INFO* _PluginInfo)
|
||||||
void DllDebugger(HWND _hParent, bool Show) {
|
void DllDebugger(HWND _hParent, bool Show) {
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void DllConfig(HWND _hParent)
|
void DllConfig(HWND _hParent)
|
||||||
{
|
{
|
||||||
#if defined(HAVE_WX) && HAVE_WX
|
#if defined(HAVE_WX) && HAVE_WX
|
||||||
wxWindow win;
|
wxWindow win;
|
||||||
|
|
Loading…
Reference in New Issue