[Project64] Fix plugin change from uint32_t to int32_t

This commit is contained in:
zilmar 2015-11-10 18:13:49 +11:00
parent 89d6811068
commit 623411ce99
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ void CControl_Plugin::SetControl(CControl_Plugin const * const Plugin)
} }
} }
CCONTROL::CCONTROL(uint32_t &Present, uint32_t &RawData, int32_t &PlugType) : CCONTROL::CCONTROL(int32_t &Present, int32_t &RawData, int32_t &PlugType) :
m_Present(Present), m_RawData(RawData), m_PlugType(PlugType) m_Present(Present), m_RawData(RawData), m_PlugType(PlugType)
{ {
m_Buttons.Value = 0; m_Buttons.Value = 0;

View File

@ -64,7 +64,7 @@ class CControl_Plugin;
class CCONTROL class CCONTROL
{ {
public: public:
CCONTROL(uint32_t &Present, uint32_t &RawData, int32_t &PlugType); CCONTROL(int32_t &Present, int32_t &RawData, int32_t &PlugType);
inline bool Present(void) const { return m_Present != 0; } inline bool Present(void) const { return m_Present != 0; }
inline uint32_t Buttons(void) const { return m_Buttons.Value; } inline uint32_t Buttons(void) const { return m_Buttons.Value; }
inline PluginType Plugin(void) const { return static_cast<PluginType>(m_PlugType); } inline PluginType Plugin(void) const { return static_cast<PluginType>(m_PlugType); }