mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: initialize members in constructor of objects
This commit is contained in:
parent
5fb8c7e65c
commit
23591deb81
|
@ -45,7 +45,12 @@ bool BlockdumpFileReader::DetectBlockdump(AsyncFileReader* reader)
|
||||||
return isbd;
|
return isbd;
|
||||||
}
|
}
|
||||||
|
|
||||||
BlockdumpFileReader::BlockdumpFileReader(void)
|
BlockdumpFileReader::BlockdumpFileReader(void) :
|
||||||
|
m_file(NULL),
|
||||||
|
m_blocks(0),
|
||||||
|
m_blockofs(0),
|
||||||
|
m_dtablesize(0),
|
||||||
|
m_lresult(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -198,6 +198,8 @@ public:
|
||||||
protected:
|
protected:
|
||||||
BaseCompressThread()
|
BaseCompressThread()
|
||||||
{
|
{
|
||||||
|
m_gzfp = NULL;
|
||||||
|
m_src_list = NULL;
|
||||||
m_PendingSaveFlag = false;
|
m_PendingSaveFlag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -102,10 +102,9 @@ private:
|
||||||
CpuTabPage* currentCpu;
|
CpuTabPage* currentCpu;
|
||||||
|
|
||||||
wxBoxSizer* topSizer;
|
wxBoxSizer* topSizer;
|
||||||
wxStatusBar* statusBar;
|
|
||||||
wxButton* breakRunButton;
|
wxButton* breakRunButton;
|
||||||
wxButton* stepIntoButton;
|
wxButton* stepIntoButton;
|
||||||
wxButton* stepOverButton;
|
wxButton* stepOverButton;
|
||||||
wxButton* stepOutButton;
|
wxButton* stepOutButton;
|
||||||
wxButton* breakpointButton;
|
wxButton* breakpointButton;
|
||||||
};
|
};
|
||||||
|
|
|
@ -208,6 +208,7 @@ namespace vtlb_private
|
||||||
MapData()
|
MapData()
|
||||||
{
|
{
|
||||||
vmap = NULL;
|
vmap = NULL;
|
||||||
|
ppmap = NULL;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue