all repos — mgba @ 19d7d901192b6f1575d23ecb586b144bbc5bdaab

mGBA Game Boy Advance Emulator

Qt: Fix non-SDL2 build
Anthony J. Bentley anthony@anjbe.name
Tue, 28 Jul 2015 23:36:10 -0600
commit

19d7d901192b6f1575d23ecb586b144bbc5bdaab

parent

9b4cca58f140ae9e68806c4a078201ff33c88734

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/InputController.cppsrc/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; }