diff options
| author | dapetcu21 <dapetcu21@gmail.com> | 2010-07-19 10:36:30 +0000 |
|---|---|---|
| committer | dapetcu21 <dapetcu21@gmail.com> | 2010-07-19 10:36:30 +0000 |
| commit | 9074df896a18d288632a2e45bbee2d5f70c0d773 (patch) | |
| tree | 8f48f937eea15ecd69f8a09d16cf8f734a5d5634 /Source/Core/InputCommon/Src/UDPWrapper.cpp | |
| parent | a2b1f829cb1064ff57ee0a3f6d41a7fd1b672dab (diff) | |
UDPWii: Broadcasting it's presence on IPv4 to 255.255.255.255 once every 1.5 seconds. 3-arg Set()-s only worked on strings and doubles :P . Added int and bool variants.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5916 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/UDPWrapper.cpp')
| -rw-r--r-- | Source/Core/InputCommon/Src/UDPWrapper.cpp | 4 |
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() |
