mirror of https://github.com/mgba-emu/mgba.git
Reorder initialization in CoreController to silence a few warnings
This commit is contained in:
parent
cef3d15326
commit
b799907143
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue