mirror of https://github.com/mgba-emu/mgba.git
commit
ec8911ce56
|
@ -207,7 +207,7 @@ void InputController::setPreferredGamepad(uint32_t type, const QString& device)
|
||||||
}
|
}
|
||||||
|
|
||||||
GBARumble* InputController::rumble() {
|
GBARumble* InputController::rumble() {
|
||||||
#ifdef BUILD_SDL
|
#if defined(BUILD_SDL) && SDL_VERSION_ATLEAST(2, 0, 0)
|
||||||
if (m_playerAttached) {
|
if (m_playerAttached) {
|
||||||
return &m_sdlPlayer.rumble.d;
|
return &m_sdlPlayer.rumble.d;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue