Never handle polled devices in a thread in Win9x. It doesn't have the

scheduling granularity to handle it.
This commit is contained in:
Glenn Maynard
2003-07-20 19:16:49 +00:00
parent da3be19536
commit 3a04d3f223
2 changed files with 60 additions and 37 deletions
@@ -9,8 +9,9 @@ class InputHandler_DInput: public InputHandler
{
SDL_Thread *InputThreadPtr;
bool shutdown;
bool PolledDevicesInMainThread;
void UpdatePolled(DIDevice &device);
void UpdatePolled(DIDevice &device, const RageTimer &tm);
void UpdateBuffered(DIDevice &device, const RageTimer &tm);
void PollAndAcquireDevices();