OSX build fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5760 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
j4ck.fr0st 2010-06-21 17:15:42 +00:00
parent 92c98ac5fa
commit 3650ee2fc5
1 changed files with 1 additions and 1 deletions

View File

@ -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)