mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-14 22:31:42 +00:00
GCAdapter: set read/write thread names
This commit is contained in:
parent
0a07c76333
commit
f52d94832e
1 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,8 @@ static std::array<bool, SerialInterface::MAX_SI_CHANNELS> s_config_rumble_enable
|
||||||
|
|
||||||
static void Read()
|
static void Read()
|
||||||
{
|
{
|
||||||
|
Common::SetCurrentThreadName("GCAdapter Read Thread");
|
||||||
|
|
||||||
int payload_size = 0;
|
int payload_size = 0;
|
||||||
while (s_adapter_thread_running.IsSet())
|
while (s_adapter_thread_running.IsSet())
|
||||||
{
|
{
|
||||||
|
@ -110,6 +112,8 @@ static void Read()
|
||||||
|
|
||||||
static void Write()
|
static void Write()
|
||||||
{
|
{
|
||||||
|
Common::SetCurrentThreadName("GCAdapter Write Thread");
|
||||||
|
|
||||||
int size = 0;
|
int size = 0;
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue