N64 Class: Initialize variable before passing in initializer list

Silences an uninitialized variable warning.
This commit is contained in:
Lioncash 2015-04-15 22:38:53 -04:00
parent 301818511a
commit b8beaeffb7
2 changed files with 2 additions and 1 deletions

View File

@ -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),

View File

@ -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;