Qt: Fix non-SDL2 build

This commit is contained in:
Anthony J. Bentley 2015-07-28 23:36:10 -06:00
parent 9b4cca58f1
commit 19d7d90119
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ void InputController::setPreferredGamepad(uint32_t type, const QString& device)
}
GBARumble* InputController::rumble() {
#ifdef BUILD_SDL
#if defined(BUILD_SDL) && SDL_VERSION_ATLEAST(2, 0, 0)
if (m_playerAttached) {
return &m_sdlPlayer.rumble.d;
}