mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3549 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -1541,7 +1541,7 @@ void ConfigDialog::GeneralSettingsChanged(wxCommandEvent& event)
|
||||
DoExtensionConnectedDisconnected();
|
||||
/* It doesn't seem to be needed but shouldn't it at least take 25 ms to
|
||||
reconnect an extension after we disconnected another? */
|
||||
if(g_EmulatorRunning) sleep(25);
|
||||
if(g_EmulatorRunning) SLEEP(25);
|
||||
}
|
||||
|
||||
// Update status
|
||||
|
@ -18,23 +18,9 @@
|
||||
#ifndef MAIN_H
|
||||
#define MAIN_H
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Includes
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
#include <iostream> // System
|
||||
////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Definitions and declarations
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
#ifdef _WIN32
|
||||
#define sleep(x) Sleep(x)
|
||||
#else
|
||||
#define sleep(x) usleep(x*1000)
|
||||
#endif
|
||||
|
||||
|
||||
void DoInitialize();
|
||||
double GetDoubleTime();
|
||||
int GetUpdateRate();
|
||||
@ -103,7 +89,6 @@ struct SRecordingAll
|
||||
// extern ConfigDialog *frame;
|
||||
//#endif
|
||||
#endif
|
||||
////////////////////////////////
|
||||
|
||||
|
||||
#endif // MAIN_H
|
||||
|
@ -321,7 +321,7 @@ void FlashLights(bool Connect)
|
||||
if(Connect) wiiuse_rumble(WiiMoteReal::g_WiiMotesFromWiiUse[i], 1);
|
||||
wiiuse_set_leds(WiiMoteReal::g_WiiMotesFromWiiUse[i], WIIMOTE_LED_1 | WIIMOTE_LED_2 | WIIMOTE_LED_3 | WIIMOTE_LED_4);
|
||||
}
|
||||
sleep(100);
|
||||
SLEEP(100);
|
||||
|
||||
for (int i = 0; i < g_NumberOfWiiMotes; i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user