Skip to content

Commit fa5a16e

Browse files
committed
hid_init: use hid_error in log message
1 parent 0c233c6 commit fa5a16e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpcs3/Input/hid_pad_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ struct hid_instance
6363

6464
if (int errorCode = hid_init(); errorCode != 0)
6565
{
66-
hid_log.fatal("hid_init error %d", errorCode);
66+
hid_log.fatal("hid_init error %d: %s", errorCode, hid_error(nullptr));
6767
return false;
6868
}
6969

0 commit comments

Comments
 (0)