From b7999071434ad01e8566562f58aec172ff165847 Mon Sep 17 00:00:00 2001 From: Bastien Orivel Date: Wed, 28 Oct 2020 19:07:35 +0100 Subject: [PATCH] Reorder initialization in CoreController to silence a few warnings --- src/platform/qt/CoreController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/qt/CoreController.cpp b/src/platform/qt/CoreController.cpp index f3edda5b7..613f486a5 100644 --- a/src/platform/qt/CoreController.cpp +++ b/src/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;