diff --git a/rpcs3/Emu/Io/usb_device.cpp b/rpcs3/Emu/Io/usb_device.cpp index a456866e0b..d06af95ce0 100644 --- a/rpcs3/Emu/Io/usb_device.cpp +++ b/rpcs3/Emu/Io/usb_device.cpp @@ -194,7 +194,7 @@ void usb_device_passthrough::interrupt_transfer(u32 buf_size, u8* buf, u32 endpo const UsbDeviceEndpoint* ep_desc = find_endpoint(static_cast(endpoint)); const bool is_bulk = ep_desc && (ep_desc->bmAttributes & LIBUSB_TRANSFER_TYPE_MASK) == LIBUSB_TRANSFER_TYPE_BULK; - sys_usbd.notice("USIO debug: submitting passthrough transfer endpoint=0x%x dir=%s size=0x%x type=%s", + sys_usbd.trace("USIO debug: submitting passthrough transfer endpoint=0x%x dir=%s size=0x%x type=%s", endpoint, (endpoint & LIBUSB_ENDPOINT_IN) ? "IN" : "OUT", buf_size, is_bulk ? "bulk" : "interrupt"); if (is_bulk) diff --git a/rpcs3/Input/keyboard_pad_handler.cpp b/rpcs3/Input/keyboard_pad_handler.cpp index b95e3dc5c1..e740adb81d 100644 --- a/rpcs3/Input/keyboard_pad_handler.cpp +++ b/rpcs3/Input/keyboard_pad_handler.cpp @@ -901,7 +901,7 @@ std::string keyboard_pad_handler::GetKeyName(const QKeyEvent* keyEvent, bool wit return QKeySequence(keyEvent->key()).toString(QKeySequence::NativeText).toStdString(); } -std::string keyboard_pad_handler::GetKeyName(const u32& keyCode) +std::string keyboard_pad_handler::GetKeyName(u32 keyCode) { return QKeySequence(keyCode).toString(QKeySequence::NativeText).toStdString(); } diff --git a/rpcs3/Input/keyboard_pad_handler.h b/rpcs3/Input/keyboard_pad_handler.h index 904085abfc..aadc51b29b 100644 --- a/rpcs3/Input/keyboard_pad_handler.h +++ b/rpcs3/Input/keyboard_pad_handler.h @@ -93,7 +93,7 @@ public: static std::string GetMouseName(u32 button); static QStringList GetKeyNames(const QKeyEvent* keyEvent); static std::string GetKeyName(const QKeyEvent* keyEvent, bool with_modifiers); - static std::string GetKeyName(const u32& keyCode); + static std::string GetKeyName(u32 keyCode); static std::vector> GetKeyCombos(const std::string& cfg_string); static u32 GetKeyCode(const QString& keyName);