all repos — mgba @ b7999071434ad01e8566562f58aec172ff165847

mGBA Game Boy Advance Emulator

Reorder initialization in CoreController to silence a few warnings
Bastien Orivel eijebong@bananium.fr
Wed, 28 Oct 2020 19:07:35 +0100
commit

b7999071434ad01e8566562f58aec172ff165847

parent

cef3d15326b5be3d18c65b72670bfcb971906ebe

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

jump to
M src/platform/qt/CoreController.cppsrc/platform/qt/CoreController.cpp

@@ -34,8 +34,8 @@ using namespace QGBA;

CoreController::CoreController(mCore* core, QObject* parent) : QObject(parent) - , m_saveStateFlags(SAVESTATE_SCREENSHOT | SAVESTATE_SAVEDATA | SAVESTATE_CHEATS | SAVESTATE_RTC) , m_loadStateFlags(SAVESTATE_SCREENSHOT | SAVESTATE_RTC) + , m_saveStateFlags(SAVESTATE_SCREENSHOT | SAVESTATE_SAVEDATA | SAVESTATE_CHEATS | SAVESTATE_RTC) { m_threadContext.core = core; m_threadContext.userData = this;