Linux build fix.
Also fixed a couple of compiler warnings (one in SystemTimers.cpp that was an actual bug too!). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6185 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d02dd6d3fa
commit
c551a2ee51
|
@ -285,7 +285,7 @@ void Init()
|
||||||
fakeTBStartTicks = CoreTiming::GetTicks();
|
fakeTBStartTicks = CoreTiming::GetTicks();
|
||||||
|
|
||||||
fakeDecStartValue = 0xFFFFFFFF;
|
fakeDecStartValue = 0xFFFFFFFF;
|
||||||
u64 fakeDecStartTicks = CoreTiming::GetTicks();
|
fakeDecStartTicks = CoreTiming::GetTicks();
|
||||||
|
|
||||||
et_Dec = CoreTiming::RegisterEvent("DecCallback", DecrementerCallback);
|
et_Dec = CoreTiming::RegisterEvent("DecCallback", DecrementerCallback);
|
||||||
et_AI = CoreTiming::RegisterEvent("AICallback", AICallback);
|
et_AI = CoreTiming::RegisterEvent("AICallback", AICallback);
|
||||||
|
|
|
@ -79,6 +79,8 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
// All structs in this file are packed
|
// All structs in this file are packed
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
|
|
||||||
|
|
|
@ -141,14 +141,14 @@ private:
|
||||||
// WiiMote accel data
|
// WiiMote accel data
|
||||||
AccelData m_accel;
|
AccelData m_accel;
|
||||||
|
|
||||||
|
// wiimote index, 0-3
|
||||||
|
const unsigned int m_index;
|
||||||
|
|
||||||
double ir_sin,ir_cos; //for the low pass filter
|
double ir_sin,ir_cos; //for the low pass filter
|
||||||
|
|
||||||
//UDPWiimote
|
//UDPWiimote
|
||||||
UDPWrapper* m_udp;
|
UDPWrapper* m_udp;
|
||||||
|
|
||||||
// wiimote index, 0-3
|
|
||||||
const unsigned int m_index;
|
|
||||||
|
|
||||||
bool m_rumble_on;
|
bool m_rumble_on;
|
||||||
bool m_speaker_mute;
|
bool m_speaker_mute;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue