mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix setting overrides
This commit is contained in:
parent
2de952c521
commit
63f9461da4
1
CHANGES
1
CHANGES
|
@ -6,6 +6,7 @@ Bugfixes:
|
|||
- GB MBC: Fix SRAM dangling pointer with RTC games
|
||||
- Windows: Fix Unicode directory handling
|
||||
- Qt: Fix changing resolution of software renderer
|
||||
- Qt: Fix setting overrides
|
||||
|
||||
0.5.1: (2016-10-05)
|
||||
Bugfixes:
|
||||
|
|
|
@ -129,6 +129,11 @@ GameController::GameController(QObject* parent)
|
|||
}
|
||||
controller->m_fpsTarget = context->sync.fpsTarget;
|
||||
|
||||
if (controller->m_override) {
|
||||
controller->m_override->identify(context->core);
|
||||
controller->m_override->apply(context->core);
|
||||
}
|
||||
|
||||
if (mCoreLoadState(context->core, 0, controller->m_loadStateFlags)) {
|
||||
mCoreDeleteState(context->core, 0);
|
||||
}
|
||||
|
@ -445,11 +450,6 @@ void GameController::openGame(bool biosOnly) {
|
|||
}
|
||||
m_vf = nullptr;
|
||||
|
||||
if (m_override) {
|
||||
m_override->identify(m_threadContext.core);
|
||||
m_override->apply(m_threadContext.core);
|
||||
}
|
||||
|
||||
if (!mCoreThreadStart(&m_threadContext)) {
|
||||
emit gameFailed();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue