summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/GCAdapter.cpp
diff options
context:
space:
mode:
authoraldelaro5 <aldelaro5@gmail.com>2016-09-24 19:06:47 -0400
committeraldelaro5 <aldelaro5@gmail.com>2016-10-01 15:50:28 -0400
commitf0aa9b3751f4c3efeb3b1794991533d3d4616d03 (patch)
tree42ecb480ffe2d5392e38caeaa392f68420984828 /Source/Core/InputCommon/GCAdapter.cpp
parent08f28b5351ae4b5a7c61726f0ba26ec667a40c23 (diff)
Reorganise a ton of logs level
Most of this commits changes performance decreasing logs from info to debug and also cleans up innacurate levels.
Diffstat (limited to 'Source/Core/InputCommon/GCAdapter.cpp')
-rw-r--r--Source/Core/InputCommon/GCAdapter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/GCAdapter.cpp b/Source/Core/InputCommon/GCAdapter.cpp
index bd6a396354..26d6d15c48 100644
--- a/Source/Core/InputCommon/GCAdapter.cpp
+++ b/Source/Core/InputCommon/GCAdapter.cpp
@@ -393,8 +393,8 @@ GCPadStatus Input(int chan)
if (payload_size != sizeof(controller_payload_copy) ||
controller_payload_copy[0] != LIBUSB_DT_HID)
{
- INFO_LOG(SERIALINTERFACE, "error reading payload (size: %d, type: %02x)", payload_size,
- controller_payload_copy[0]);
+ ERROR_LOG(SERIALINTERFACE, "error reading payload (size: %d, type: %02x)", payload_size,
+ controller_payload_copy[0]);
Reset();
}
else
@@ -503,7 +503,7 @@ static void ResetRumbleLockNeeded()
int size = 0;
libusb_interrupt_transfer(s_handle, s_endpoint_out, rumble, sizeof(rumble), &size, 16);
- DEBUG_LOG(SERIALINTERFACE, "Rumble state reset");
+ INFO_LOG(SERIALINTERFACE, "Rumble state reset");
}
void Output(int chan, u8 rumble_command)
@@ -525,7 +525,7 @@ void Output(int chan, u8 rumble_command)
// Netplay sends invalid data which results in size = 0x00. Ignore it.
if (size != 0x05 && size != 0x00)
{
- INFO_LOG(SERIALINTERFACE, "error writing rumble (size: %d)", size);
+ ERROR_LOG(SERIALINTERFACE, "error writing rumble (size: %d)", size);
Reset();
}
}