mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
GCAdapter: set read/write thread names
This commit is contained in:
parent
0a07c76333
commit
f52d94832e
@ -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…
x
Reference in New Issue
Block a user