mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-03-22 20:35:11 +00:00
Android: Deactivated debug log messages on joystick device events.
This commit is contained in:
parent
d9d1a1b980
commit
9979bab20b
|
@ -311,7 +311,9 @@ Android_AddJoystick(int device_id, const char *name, SDL_bool is_accelerometer,
|
||||||
}
|
}
|
||||||
#endif /* !SDL_EVENTS_DISABLED */
|
#endif /* !SDL_EVENTS_DISABLED */
|
||||||
|
|
||||||
|
#ifdef DEBUG_JOYSTICK
|
||||||
SDL_Log("Added joystick %s with device_id %d", name, device_id);
|
SDL_Log("Added joystick %s with device_id %d", name, device_id);
|
||||||
|
#endif
|
||||||
|
|
||||||
return numjoysticks;
|
return numjoysticks;
|
||||||
}
|
}
|
||||||
|
@ -368,7 +370,9 @@ Android_RemoveJoystick(int device_id)
|
||||||
}
|
}
|
||||||
#endif /* !SDL_EVENTS_DISABLED */
|
#endif /* !SDL_EVENTS_DISABLED */
|
||||||
|
|
||||||
|
#ifdef DEBUG_JOYSTICK
|
||||||
SDL_Log("Removed joystick with device_id %d", device_id);
|
SDL_Log("Removed joystick with device_id %d", device_id);
|
||||||
|
#endif
|
||||||
|
|
||||||
SDL_free(item->name);
|
SDL_free(item->name);
|
||||||
SDL_free(item);
|
SDL_free(item);
|
||||||
|
|
Loading…
Reference in a new issue