From 29422da7d3e4321ab7f3392bd8174c4c8614a3ef Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 28 Dec 2005 19:15:48 +0000 Subject: [PATCH] MAX_DEVICE_BUTTONS -> NUM_DeviceButton --- stepmania/src/InputFilter.h | 2 +- stepmania/src/InputMapper.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/InputFilter.h b/stepmania/src/InputFilter.h index 6b4424c39d..33fb9c0e89 100644 --- a/stepmania/src/InputFilter.h +++ b/stepmania/src/InputFilter.h @@ -76,7 +76,7 @@ private: // The time that we actually reported the last event (used for debouncing). RageTimer m_LastReportTime; }; - ButtonState m_ButtonState[NUM_INPUT_DEVICES][MAX_DEVICE_BUTTONS]; + ButtonState m_ButtonState[NUM_INPUT_DEVICES][NUM_DeviceButton]; void CheckButtonChange( ButtonState &bs, DeviceInput di, const RageTimer &now ); InputEventArray queue; diff --git a/stepmania/src/InputMapper.h b/stepmania/src/InputMapper.h index 16a6177f01..ecd778cd51 100644 --- a/stepmania/src/InputMapper.h +++ b/stepmania/src/InputMapper.h @@ -82,7 +82,7 @@ protected: // lookup for efficiency from a DeviceInput to a GameInput // This is repopulated every time m_PItoDI changes by calling UpdateTempDItoPI(). - GameInput m_tempDItoGI[NUM_INPUT_DEVICES][MAX_DEVICE_BUTTONS]; + GameInput m_tempDItoGI[NUM_INPUT_DEVICES][NUM_DeviceButton]; void UpdateTempDItoGI(); };