Fix Compiling for people, Silly ector breaking things ;p

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@280 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 2008-08-23 11:18:39 +00:00
parent f82bf2ae9a
commit d697eb6a85
2 changed files with 7 additions and 4 deletions

View File

@ -22,6 +22,7 @@
#include "ABI.h"
#include "Thunk.h"
#include "../../HLE/HLE.h"
#include "../../Core.h"
#include "../../CoreTiming.h"
#include "../PowerPC.h"
#include "../PPCTables.h"

View File

@ -83,18 +83,20 @@ void Mixer_PushSamples(short *buffer, int num_stereo_samples, int sample_rate) {
static int PV1r=0,PV2r=0,PV3r=0,PV4r=0;
static int acc=0;
#ifdef _WIN32
if (!GetAsyncKeyState(VK_TAB)) {
while (queue_size > queue_maxlength / 2) {
#ifdef _WIN32
DSound::DSound_UpdateSound();
Sleep(0);
#else
sleep(0);
#endif
}
} else {
return;
}
#else
while (queue_size > queue_maxlength / 2) {
sleep(0);
}
#endif
//convert into config option?
const int mode = 2;