summaryrefslogtreecommitdiff
path: root/plugins/dfinput/sdljoy.c
diff options
context:
space:
mode:
authorStelios Tsampas <loathingkernel@gmail.com>2017-07-20 13:04:40 +0300
committerStelios Tsampas <loathingkernel@gmail.com>2017-07-20 13:04:40 +0300
commitdb51fade6de9461e7a139da2bf5887a9a6569506 (patch)
treef43878331e9abfd4f214cf60a06162854e4b75b3 /plugins/dfinput/sdljoy.c
parentb6129143f75cf4480883e467d52627de949466fb (diff)
downloadpcsxr-db51fade6de9461e7a139da2bf5887a9a6569506.tar.gz
* dfinput: Fix possible buffer overflows in the ui.
Diffstat (limited to 'plugins/dfinput/sdljoy.c')
-rwxr-xr-xplugins/dfinput/sdljoy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dfinput/sdljoy.c b/plugins/dfinput/sdljoy.c
index d9bc23a3..3e8cc993 100755
--- a/plugins/dfinput/sdljoy.c
+++ b/plugins/dfinput/sdljoy.c
@@ -74,7 +74,7 @@ int JoyHapticRumble(int pad, uint32_t low, uint32_t high)
if(SDL_HapticRumblePlay(g.PadState[pad].haptic, mag, 500) != 0)
{
- printf("\nFailed to play rumble: %s\n", SDL_GetError());
+ printf("\nFailed to play rumble on pad %d with error: %s\n", pad, SDL_GetError());
return 1;
}
}