swdc: fixed dinput buttons

This commit is contained in:
Dniel97 2024-01-17 15:52:41 +01:00
parent cc0b6b0953
commit cadf20040c
Signed by untrusted user: Dniel97
GPG Key ID: 6180B3C768FB2E08
2 changed files with 2 additions and 2 deletions

View File

@ -408,7 +408,7 @@ static BOOL CALLBACK swdc_di_enum_callback_pedals(
static void swdc_di_get_buttons(uint16_t *gamebtn_out)
{
union swdc_di_state state;
uint8_t gamebtn;
uint16_t gamebtn;
HRESULT hr;
assert(gamebtn_out != NULL);