Skip to content

Commit 4b796f3

Browse files
committed
Turbo fire port bind sign crash fix
1 parent 081ced9 commit 4b796f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

input/input_driver.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ static int16_t input_state_device(
15331533
/* Clear underlying button to prevent duplicates. */
15341534
if (input_st->turbo_btns.frame_enable[port])
15351535
{
1536-
unsigned turbo_bind = settings->ints.input_turbo_bind;
1536+
int turbo_bind = settings->ints.input_turbo_bind;
15371537
unsigned remap_bind = settings->uints.input_remap_ids[port][turbo_bind];
15381538

15391539
if (id == remap_bind)
@@ -1716,7 +1716,7 @@ static int16_t input_state_device(
17161716

17171717
if (input_st->turbo_btns.frame_enable[port])
17181718
{
1719-
unsigned turbo_bind = settings->ints.input_turbo_bind;
1719+
int turbo_bind = settings->ints.input_turbo_bind;
17201720
unsigned remap_bind = settings->uints.input_remap_ids[port][turbo_bind];
17211721

17221722
if (offset == remap_bind || offset + 1 == remap_bind)

0 commit comments

Comments
 (0)