N64 Class: Initialize variable before passing in initializer list
Silences an uninitialized variable warning.
This commit is contained in:
parent
301818511a
commit
b8beaeffb7
|
@ -30,6 +30,7 @@ CN64System::CN64System ( CPlugins * Plugins, bool SavesReadOnly ) :
|
||||||
m_EndEmulation(false),
|
m_EndEmulation(false),
|
||||||
m_bCleanFrameBox(true),
|
m_bCleanFrameBox(true),
|
||||||
m_bInitilized(false),
|
m_bInitilized(false),
|
||||||
|
m_NextTimer(0),
|
||||||
m_SystemTimer(m_NextTimer),
|
m_SystemTimer(m_NextTimer),
|
||||||
m_DMAUsed(false),
|
m_DMAUsed(false),
|
||||||
m_CPU_Handle(NULL),
|
m_CPU_Handle(NULL),
|
||||||
|
|
|
@ -137,11 +137,11 @@ private:
|
||||||
CAudio m_Audio;
|
CAudio m_Audio;
|
||||||
CSpeedLimitor m_Limitor;
|
CSpeedLimitor m_Limitor;
|
||||||
bool m_InReset;
|
bool m_InReset;
|
||||||
|
int m_NextTimer;
|
||||||
CSystemTimer m_SystemTimer;
|
CSystemTimer m_SystemTimer;
|
||||||
bool m_bCleanFrameBox;
|
bool m_bCleanFrameBox;
|
||||||
bool m_bInitilized;
|
bool m_bInitilized;
|
||||||
bool m_RspBroke;
|
bool m_RspBroke;
|
||||||
int m_NextTimer;
|
|
||||||
bool m_DMAUsed;
|
bool m_DMAUsed;
|
||||||
DWORD m_Buttons[4];
|
DWORD m_Buttons[4];
|
||||||
BOOL m_TestTimer;
|
BOOL m_TestTimer;
|
||||||
|
|
Loading…
Reference in New Issue