Reorder initialization in CoreController to silence a few warnings

This commit is contained in:
Bastien Orivel 2020-10-28 19:07:35 +01:00 committed by Vicki Pfau
parent cef3d15326
commit b799907143
1 changed files with 1 additions and 1 deletions

View File

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