mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
from BhaaL: linux compile fix for r4794, Event::Wait now supports a timeout (default to INFINITE), and it returns true when the timeout expired. fixes issue 1974
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4799 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -23,6 +23,10 @@
|
||||
#include "wiiuse.h"
|
||||
#include "ChunkFile.h"
|
||||
|
||||
#ifndef EXCLUDE_H
|
||||
//this one is required for Common::Event
|
||||
#include "Thread.h"
|
||||
#endif
|
||||
|
||||
namespace WiiMoteReal
|
||||
{
|
||||
@ -48,8 +52,8 @@ bool IRDataOK(struct wiimote_t* wm);
|
||||
#ifndef EXCLUDE_H
|
||||
extern wiimote_t** g_WiiMotesFromWiiUse;
|
||||
extern bool g_Shutdown;
|
||||
extern HANDLE g_StopThreadTemporary;
|
||||
extern HANDLE g_StartThread;
|
||||
extern Common::Event g_StartThread;
|
||||
extern Common::Event g_StopThreadTemporary;
|
||||
extern int g_NumberOfWiiMotes;
|
||||
extern bool g_MotionSensing;
|
||||
extern bool g_IRSensing;
|
||||
|
Reference in New Issue
Block a user