HIDAPI_DriverPS3_UpdateEffects: kill bad use of & operator on effects[]

This commit is contained in:
Ozkan Sezer 2022-09-05 20:47:00 +03:00
parent b00e1b1b62
commit 612a86ebad
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ HIDAPI_DriverPS3_UpdateEffects(SDL_HIDAPI_Device *device)
effects[9] = (0x01 << (1+(ctx->player_index % 4))); effects[9] = (0x01 << (1+(ctx->player_index % 4)));
return HIDAPI_DriverPS3_SendJoystickEffect(device, ctx->joystick, &effects, sizeof(effects)); return HIDAPI_DriverPS3_SendJoystickEffect(device, ctx->joystick, effects, sizeof(effects));
} }
static void static void