cosmetic
This commit is contained in:
@@ -468,7 +468,7 @@ void InputHandler_DInput::InputThread()
|
||||
int ret = WaitForSingleObjectEx( Handle, Delay, true );
|
||||
if( ret == -1 )
|
||||
{
|
||||
LOG->Trace( werr_ssprintf(GetLastError(), "WaitForMultipleObjectsEx failed") );
|
||||
LOG->Trace( werr_ssprintf(GetLastError(), "WaitForSingleObjectEx failed") );
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -93,7 +93,6 @@ bool DIDevice::Open()
|
||||
dipdw.dwData = INPUT_QSIZE;
|
||||
hr = IDirectInputDevice2_SetProperty(Device,
|
||||
DIPROP_BUFFERSIZE, &dipdw.diph);
|
||||
/* XXX: Try to use event notification. It might give better response in a thread. */
|
||||
if ( hr == DI_POLLEDDEVICE )
|
||||
{
|
||||
/* This device doesn't support buffering, so we're forced
|
||||
|
||||
Reference in New Issue
Block a user