Mercurial > sdl-ios-xcode
comparison src/haptic/win32/SDL_syshaptic.c @ 2613:b081c72b739c gsoc2008_force_feedback
Fixed typo.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 07:53:51 +0000 |
parents | 63ea27a96a96 |
children | 3ee319d9800a |
comparison
equal
deleted
inserted
replaced
2612:63ea27a96a96 | 2613:b081c72b739c |
---|---|
175 /* Copy the instance over, useful for creating devices. */ | 175 /* Copy the instance over, useful for creating devices. */ |
176 SDL_memcpy(&SDL_hapticlist[SDL_numhaptics].instance, pdidInstance, | 176 SDL_memcpy(&SDL_hapticlist[SDL_numhaptics].instance, pdidInstance, |
177 sizeof(DIDEVICEINSTANCE)); | 177 sizeof(DIDEVICEINSTANCE)); |
178 | 178 |
179 /* Open the device */ | 179 /* Open the device */ |
180 ret = IDirectInput_CreateDevice( dinput, &instance.guidInstance, | 180 ret = IDirectInput_CreateDevice( dinput, &pdidInstance.guidInstance, |
181 &device, NULL ); | 181 &device, NULL ); |
182 if (FAILED(ret)) { | 182 if (FAILED(ret)) { |
183 /* DI_SetError("Creating DirectInput device",ret); */ | 183 /* DI_SetError("Creating DirectInput device",ret); */ |
184 return DIENUM_CONTINUE; | 184 return DIENUM_CONTINUE; |
185 } | 185 } |