Fix MSVC syntax error

Fixes the following error:
`
error C2059: syntax error: '}'
`
This commit is contained in:
Anonymous Maarten
2025-10-13 01:19:17 +02:00
parent 281ac6c3bb
commit a472f5ea1e

View File

@@ -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;