mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Linux build fix, code cleanup, and compiler warning removal.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5840 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
19cdaaae89
commit
3e08208f42
8 changed files with 34 additions and 36 deletions
|
@ -65,8 +65,9 @@ THREAD_RETURN UDPWiiThread(void* arg)
|
|||
}
|
||||
|
||||
UDPWiimote::UDPWiimote(const char *_port) :
|
||||
d(new _d) ,x(0),y(0),z(0),nunX(0),nunY(0),
|
||||
pointerX(-0.1),pointerY(-0.1),nunMask(0),mask(0),time(0),port(_port)
|
||||
port(_port),
|
||||
d(new _d) ,x(0),y(0),z(0),nunX(0),nunY(0),
|
||||
pointerX(-0.1),pointerY(-0.1),nunMask(0),mask(0),time(0)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
u_long iMode = 1;
|
||||
|
@ -299,4 +300,4 @@ void UDPWiimote::getNunchuck(float &_x, float &_y, u8 &_mask)
|
|||
const char * UDPWiimote::getPort()
|
||||
{
|
||||
return port.c_str();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue