mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 23:29:17 +00:00
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
This commit is contained in:
parent
a2b1f829cb
commit
9074df896a
5 changed files with 155 additions and 35 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue