diff options
| author | Stelios Tsampas <loathingkernel@gmail.com> | 2017-07-20 13:04:40 +0300 |
|---|---|---|
| committer | Stelios Tsampas <loathingkernel@gmail.com> | 2017-07-20 13:04:40 +0300 |
| commit | db51fade6de9461e7a139da2bf5887a9a6569506 (patch) | |
| tree | f43878331e9abfd4f214cf60a06162854e4b75b3 /plugins/dfinput/sdljoy.c | |
| parent | b6129143f75cf4480883e467d52627de949466fb (diff) | |
| download | pcsxr-db51fade6de9461e7a139da2bf5887a9a6569506.tar.gz | |
* dfinput: Fix possible buffer overflows in the ui.
Diffstat (limited to 'plugins/dfinput/sdljoy.c')
| -rwxr-xr-x | plugins/dfinput/sdljoy.c | 2 |
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; } } |
