Replaced a few single-line "//" comments.

This commit is contained in:
Ryan C. Gordon
2017-01-07 17:09:14 -05:00
parent e25f4e507d
commit 61a3ba303c
6 changed files with 8 additions and 9 deletions

View File

@@ -609,8 +609,8 @@ SDL_SYS_JoystickDetect(void)
}
}
// run this after the checks above so we don't set device->removed and delete the device before
// SDL_SYS_JoystickUpdate can run to clean up the SDL_Joystick object that owns this device
/* run this after the checks above so we don't set device->removed and delete the device before
SDL_SYS_JoystickUpdate can run to clean up the SDL_Joystick object that owns this device */
while (CFRunLoopRunInMode(SDL_JOYSTICK_RUNLOOP_MODE,0,TRUE) == kCFRunLoopRunHandledSource) {
/* no-op. Pending callbacks will fire in CFRunLoopRunInMode(). */
}

View File

@@ -331,7 +331,7 @@ SDL_SYS_JoystickUpdate(SDL_Joystick * joystick)
for(i = 0; i < item->naxes; i++) {
if(item->axis[i] != gamepadState.axis[i]) {
// do we need to do conversion?
/* do we need to do conversion? */
SDL_PrivateJoystickAxis(item->joystick, i,
(Sint16) (32767.*gamepadState.axis[i]));
}