summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/UDPWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/Src/UDPWrapper.cpp')
-rw-r--r--Source/Core/InputCommon/Src/UDPWrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/Src/UDPWrapper.cpp b/Source/Core/InputCommon/Src/UDPWrapper.cpp
index 20ae3ade19..6003119a92 100644
--- a/Source/Core/InputCommon/Src/UDPWrapper.cpp
+++ b/Source/Core/InputCommon/Src/UDPWrapper.cpp
@@ -69,7 +69,7 @@ void UDPWrapper::Refresh()
if (strcmp(inst->getPort(),port.c_str()))
{
delete inst;
- inst= new UDPWiimote(port.c_str());
+ inst= new UDPWiimote(port.c_str(),"Dolphin-Emu",index); //TODO: Changeable display name
}
return;
}
@@ -81,7 +81,7 @@ void UDPWrapper::Refresh()
return;
}
//else
- inst= new UDPWiimote(port.c_str());
+ inst= new UDPWiimote(port.c_str(),"Dolphin-Emu",index);
}
UDPWrapper::~UDPWrapper()