Merge pull request #389 from lioncash/uninit

N64 Class: Initialize variable before passing in initializer list
This commit is contained in:
zilmar 2015-04-16 13:20:32 +10:00
commit 57e6c37a25
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;