mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix merge issue
This commit is contained in:
parent
877135a803
commit
00f1229ea2
|
@ -159,8 +159,9 @@ void InputController::setPlatform(mPlatform platform) {
|
|||
|
||||
loadConfiguration(KEYBOARD);
|
||||
#ifdef BUILD_SDL
|
||||
mSDLInitBindingsGBA(&m_inputMap);
|
||||
loadConfiguration(SDL_BINDING_BUTTON);
|
||||
if (!loadConfiguration(SDL_BINDING_BUTTON)) {
|
||||
mSDLInitBindingsGBA(&m_inputMap);
|
||||
}
|
||||
#endif
|
||||
|
||||
rebuildKeyIndex();
|
||||
|
@ -273,9 +274,6 @@ void InputController::setConfiguration(ConfigController* config) {
|
|||
if (!m_playerAttached) {
|
||||
m_playerAttached = mSDLAttachPlayer(&s_sdlEvents, &m_sdlPlayer);
|
||||
}
|
||||
if (!loadConfiguration(SDL_BINDING_BUTTON)) {
|
||||
mSDLInitBindingsGBA(&m_inputMap);
|
||||
}
|
||||
loadProfile(SDL_BINDING_BUTTON, profileForType(SDL_BINDING_BUTTON));
|
||||
#endif
|
||||
restoreModel();
|
||||
|
|
Loading…
Reference in New Issue