mirror of
https://github.com/encounter/SDL.git
synced 2025-12-11 22:44:17 +00:00
Fixed build
This commit is contained in:
@@ -1525,7 +1525,9 @@ HIDAPI_DriverWii_UpdateDevice(SDL_HIDAPI_Device *device)
|
|||||||
/* Check to see if we've lost connection to the controller.
|
/* Check to see if we've lost connection to the controller.
|
||||||
* We have continuous reporting enabled, so this should be reliable now.
|
* We have continuous reporting enabled, so this should be reliable now.
|
||||||
*/
|
*/
|
||||||
|
{
|
||||||
SDL_COMPILE_TIME_ASSERT(ENABLE_CONTINUOUS_REPORTING, ENABLE_CONTINUOUS_REPORTING);
|
SDL_COMPILE_TIME_ASSERT(ENABLE_CONTINUOUS_REPORTING, ENABLE_CONTINUOUS_REPORTING);
|
||||||
|
}
|
||||||
if (SDL_TICKS_PASSED(now, ctx->m_unLastInput + INPUT_WAIT_TIMEOUT_MS)) {
|
if (SDL_TICKS_PASSED(now, ctx->m_unLastInput + INPUT_WAIT_TIMEOUT_MS)) {
|
||||||
/* Bluetooth may have disconnected, try reopening the controller */
|
/* Bluetooth may have disconnected, try reopening the controller */
|
||||||
size = -1;
|
size = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user