wiimote build fixing

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1822 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
daco65 2009-01-07 20:45:43 +00:00
parent 6053f26a4c
commit 8c8ec9d155
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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;