|
@@ -76,7 +76,7 @@
|
|
|
* }
|
|
|
*
|
|
|
* // Create the effect
|
|
|
- * memset( &effect, 0, sizeof(SDL_HapticEffect) ); // 0 is safe default
|
|
|
+ * SDL_memset( &effect, 0, sizeof(SDL_HapticEffect) ); // 0 is safe default
|
|
|
* effect.type = SDL_HAPTIC_SINE;
|
|
|
* effect.periodic.direction.type = SDL_HAPTIC_POLAR; // Polar coordinates
|
|
|
* effect.periodic.direction.dir[0] = 18000; // Force comes from south
|