From 623411ce99cebd6f1a1be96002e6a8c51a595b4c Mon Sep 17 00:00:00 2001 From: zilmar Date: Tue, 10 Nov 2015 18:13:49 +1100 Subject: [PATCH] [Project64] Fix plugin change from uint32_t to int32_t --- Source/Project64/Plugins/Controller Plugin.cpp | 2 +- Source/Project64/Plugins/Controller Plugin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Project64/Plugins/Controller Plugin.cpp b/Source/Project64/Plugins/Controller Plugin.cpp index 8b399bace..00a07a75c 100644 --- a/Source/Project64/Plugins/Controller Plugin.cpp +++ b/Source/Project64/Plugins/Controller Plugin.cpp @@ -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_Buttons.Value = 0; diff --git a/Source/Project64/Plugins/Controller Plugin.h b/Source/Project64/Plugins/Controller Plugin.h index 2887e5bd2..a0a82c49a 100644 --- a/Source/Project64/Plugins/Controller Plugin.h +++ b/Source/Project64/Plugins/Controller Plugin.h @@ -64,7 +64,7 @@ class CControl_Plugin; class CCONTROL { 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 uint32_t Buttons(void) const { return m_Buttons.Value; } inline PluginType Plugin(void) const { return static_cast(m_PlugType); }