mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
Fix some minor logging regression.
This commit is contained in:
parent
a91dbdaabc
commit
cfe4df005d
@ -444,10 +444,10 @@ static bool add_pad(unsigned p, int fd, const char *path)
|
|||||||
{
|
{
|
||||||
if (test_bit(FF_RUMBLE, ffbit))
|
if (test_bit(FF_RUMBLE, ffbit))
|
||||||
RARCH_LOG("[udev]: Pad #%u (%s) supports force feedback.\n",
|
RARCH_LOG("[udev]: Pad #%u (%s) supports force feedback.\n",
|
||||||
i, path);
|
p, path);
|
||||||
|
|
||||||
if (ioctl(fd, EVIOCGEFFECTS, &pad->num_effects) >= 0)
|
if (ioctl(fd, EVIOCGEFFECTS, &pad->num_effects) >= 0)
|
||||||
RARCH_LOG("[udev]: Pad #%u (%s) supports %d force feedback effects.\n", i, path, pad->num_effects);
|
RARCH_LOG("[udev]: Pad #%u (%s) supports %d force feedback effects.\n", p, path, pad->num_effects);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user