mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Fix MSVC syntax error
Fixes the following error: ` error C2059: syntax error: '}' `
This commit is contained in:
parent
281ac6c3bb
commit
a472f5ea1e
1 changed files with 1 additions and 1 deletions
|
|
@ -960,7 +960,7 @@ static bool UpdateRumble(SDL_DriverSwitch2_Context *ctx)
|
|||
return false;
|
||||
}
|
||||
|
||||
unsigned char rumble_data[64] = {};
|
||||
unsigned char rumble_data[64] = {0};
|
||||
if (ctx->device->product_id == USB_PRODUCT_NINTENDO_SWITCH2_GAMECUBE_CONTROLLER) {
|
||||
Uint16 rumble_max = SDL_max(ctx->rumble_lo_amp, ctx->rumble_hi_amp);
|
||||
rumble_data[0x00] = 0x3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue