Making sure nothing broke on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@745 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
4923da76d7
commit
29fdb6837a
|
@ -168,8 +168,12 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
|
||||||
if (hEventOnIdle==NULL) PanicAlert("Fifo_EnterLoop() -> EventOnIdle NULL");
|
if (hEventOnIdle==NULL) PanicAlert("Fifo_EnterLoop() -> EventOnIdle NULL");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
// TODO(ector): Don't peek so often!
|
// TODO(ector): Don't peek so often!
|
||||||
while (fifoStateRun || video_initialize.pPeekMessages())
|
while (video_initialize.pPeekMessages())
|
||||||
|
#else
|
||||||
|
while (fifoStateRun)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
#if defined(THREAD_VIDEO_WAKEUP_ONIDLE) && defined(_WIN32)
|
#if defined(THREAD_VIDEO_WAKEUP_ONIDLE) && defined(_WIN32)
|
||||||
if (MsgWaitForMultipleObjects(1, &hEventOnIdle, FALSE, 1L, QS_ALLEVENTS) == WAIT_ABANDONED)
|
if (MsgWaitForMultipleObjects(1, &hEventOnIdle, FALSE, 1L, QS_ALLEVENTS) == WAIT_ABANDONED)
|
||||||
|
|
Loading…
Reference in New Issue