style cleanup
This commit is contained in:
@@ -97,7 +97,9 @@ bool DIDevice::Open()
|
|||||||
/* This device doesn't support buffering, so we're forced
|
/* This device doesn't support buffering, so we're forced
|
||||||
* to use less reliable polling. */
|
* to use less reliable polling. */
|
||||||
buffered = false;
|
buffered = false;
|
||||||
} else if ( hr != DI_OK ) {
|
}
|
||||||
|
else if ( hr != DI_OK )
|
||||||
|
{
|
||||||
LOG->Info( hr_ssprintf(hr, "OpenDevice(%s): IDirectInputDevice2::SetProperty", JoystickInst.tszProductName) );
|
LOG->Info( hr_ssprintf(hr, "OpenDevice(%s): IDirectInputDevice2::SetProperty", JoystickInst.tszProductName) );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ struct tm *my_gmtime_r( const time_t *timep, struct tm *result )
|
|||||||
|
|
||||||
void my_usleep( unsigned long usec )
|
void my_usleep( unsigned long usec )
|
||||||
{
|
{
|
||||||
Sleep( usec/1000 );
|
::Sleep( usec/1000 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user