From f52d94832ecb65b549f784e8f42ffaaeec68a90c Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Fri, 22 Apr 2022 07:12:09 -0700 Subject: [PATCH] GCAdapter: set read/write thread names --- Source/Core/InputCommon/GCAdapter.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/InputCommon/GCAdapter.cpp b/Source/Core/InputCommon/GCAdapter.cpp index 973d1a1d5f..f96043d1c5 100644 --- a/Source/Core/InputCommon/GCAdapter.cpp +++ b/Source/Core/InputCommon/GCAdapter.cpp @@ -89,6 +89,8 @@ static std::array s_config_rumble_enable static void Read() { + Common::SetCurrentThreadName("GCAdapter Read Thread"); + int payload_size = 0; while (s_adapter_thread_running.IsSet()) { @@ -110,6 +112,8 @@ static void Read() static void Write() { + Common::SetCurrentThreadName("GCAdapter Write Thread"); + int size = 0; while (true)