From 3650ee2fc52a5d53bfdc6cb2292229c4b04c8578 Mon Sep 17 00:00:00 2001 From: "j4ck.fr0st" Date: Mon, 21 Jun 2010 17:15:42 +0000 Subject: [PATCH] OSX build fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5760 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXMouse.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXMouse.mm b/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXMouse.mm index 22746bfc24..ed2a3186c5 100644 --- a/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXMouse.mm +++ b/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXMouse.mm @@ -151,7 +151,7 @@ Mouse::Axis::Axis(IOHIDElementRef element, direction dir) m_range = (float)IOHIDElementGetLogicalMax(m_element) / 1000.; } -ControlState Mouse::Axis::GetState(IOHIDDeviceRef device) +ControlState Mouse::Axis::GetState(IOHIDDeviceRef device) const { IOHIDValueRef value; if (IOHIDDeviceGetValue(device, m_element, &value) == kIOReturnSuccess)