Qt: Fix non-SDL2 build
Anthony J. Bentley anthony@anjbe.name
Tue, 28 Jul 2015 23:36:10 -0600
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/platform/qt/InputController.cpp
→
src/platform/qt/InputController.cpp
@@ -207,7 +207,7 @@ GBAInputSetPreferredDevice(m_config->input(), type, m_playerId, device.toUtf8().constData());
} GBARumble* InputController::rumble() { -#ifdef BUILD_SDL +#if defined(BUILD_SDL) && SDL_VERSION_ATLEAST(2, 0, 0) if (m_playerAttached) { return &m_sdlPlayer.rumble.d; }