Skip to content

Commit

Permalink
fixed wrong value
Browse files Browse the repository at this point in the history
  • Loading branch information
Patola authored Jul 20, 2020
1 parent 2e3148d commit 2dd1db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/winebus.sys/bus_sdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ static BOOL build_report_descriptor(struct platform_private *ext)
if ((ball_count*2) + axis_count > 19)
{
FIXME("Capping ball + axis at 19\n");
ball_count = (9-axis_count)/2;
ball_count = (19-axis_count)/2;
}
descript_size += sizeof(REPORT_AXIS_HEADER);
descript_size += (sizeof(REPORT_AXIS_USAGE) * ball_count * 2);
Expand Down

0 comments on commit 2dd1db1

Please sign in to comment.