diff options
| author | NeoBrainX <NeoBrainX@googlemail.com> | 2010-07-18 10:11:34 +0000 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@googlemail.com> | 2010-07-18 10:11:34 +0000 |
| commit | da4c3a5f2905a8331a00e9ffd0b3dd8cc52f6d0d (patch) | |
| tree | c793ddd1f032df7fd11baa038f0188d386b2a1fb /Source/Core/InputCommon | |
| parent | b0041f00a3d1a7a13485bd6b83d94d22981ac8ac (diff) | |
Committing some cleanups by avindra:
- fix numerous warnings
- make some variables unsigned
- remove redundant code and header inclusions
- make code more compact in lots of cases
Committing some additional changes by myself:
- additional header cleanups
- cleanup DX11 initialization/shutdown process (hinted at by avindra)
- Remove the cgD3D9 stuff from Externals since it's no longer needed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5903 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon')
| -rw-r--r-- | Source/Core/InputCommon/Src/UDPWiimote.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/Src/UDPWiimote.cpp b/Source/Core/InputCommon/Src/UDPWiimote.cpp index 0b20c4e84a..fc3b8603e7 100644 --- a/Source/Core/InputCommon/Src/UDPWiimote.cpp +++ b/Source/Core/InputCommon/Src/UDPWiimote.cpp @@ -277,9 +277,9 @@ void UDPWiimote::broadcastPresence() void UDPWiimote::getAccel(float &_x, float &_y, float &_z) { d->mutex.Enter(); - _x=x; - _y=y; - _z=z; + _x=(float)x; + _y=(float)y; + _z=(float)z; d->mutex.Leave(); //NOTICE_LOG(WIIMOTE,"%lf %lf %lf",_x, _y, _z); } |
