N3DS: Fix PrivateSensorUpdate call. A new timestamp parameter was added in 2c51874.
diff --git a/src/sensor/n3ds/SDL_n3dssensor.c b/src/sensor/n3ds/SDL_n3dssensor.c
index 7204fcc..a435ae2 100644
--- a/src/sensor/n3ds/SDL_n3dssensor.c
+++ b/src/sensor/n3ds/SDL_n3dssensor.c
@@ -165,7 +165,7 @@ UpdateN3DSAccelerometer(SDL_Sensor *sensor)
data[0] = (float) current_state.x * SDL_STANDARD_GRAVITY;
data[1] = (float) current_state.y * SDL_STANDARD_GRAVITY;
data[2] = (float) current_state.z * SDL_STANDARD_GRAVITY;
- SDL_PrivateSensorUpdate(sensor, data, sizeof data);
+ SDL_PrivateSensorUpdate(sensor, 0, data, sizeof data);
}
}
@@ -182,7 +182,7 @@ UpdateN3DSGyroscope(SDL_Sensor *sensor)
data[0] = (float) current_state.x;
data[1] = (float) current_state.y;
data[2] = (float) current_state.z;
- SDL_PrivateSensorUpdate(sensor, data, sizeof data);
+ SDL_PrivateSensorUpdate(sensor, 0, data, sizeof data);
}
}