diff --git a/stepmania/src/InputMapper.cpp b/stepmania/src/InputMapper.cpp index 0eefe87898..447f740f3b 100644 --- a/stepmania/src/InputMapper.cpp +++ b/stepmania/src/InputMapper.cpp @@ -755,9 +755,9 @@ bool InputMapper::DeviceToGame( const DeviceInput &DeviceI, GameInput& GameI ) / return GameI.controller != GAME_CONTROLLER_INVALID; } -bool InputMapper::GameToDevice( const GameInput &GameI, int iSoltNum, DeviceInput& DeviceI ) // return true if there is a mapping from pad to device +bool InputMapper::GameToDevice( const GameInput &GameI, int iSlotNum, DeviceInput& DeviceI ) // return true if there is a mapping from pad to device { - DeviceI = m_GItoDI[GameI.controller][GameI.button][iSoltNum]; + DeviceI = m_GItoDI[GameI.controller][GameI.button][iSlotNum]; return DeviceI.device != DEVICE_NONE; }