diff --git a/swdchook/io4.c b/swdchook/io4.c index be2749e..d9f2198 100644 --- a/swdchook/io4.c +++ b/swdchook/io4.c @@ -129,7 +129,7 @@ static HRESULT swdc_io4_poll(void *ctx, struct io4_state *state) { /* Update steering wheel buttons - Those are connected to the SEGA838-15415 INDICATOR BD MAIN + Those are connected to the SEGA 838-15415 INDICATOR BD MAIN USB board which is not emulated for now. So those buttons are hooked to the built-in XInput support. */ diff --git a/swdcio/di.c b/swdcio/di.c index da6e4b5..7639a4e 100644 --- a/swdcio/di.c +++ b/swdcio/di.c @@ -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);