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;
|
||||
}
|
||||
|
||||
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:
|
||||
BaseCompressThread()
|
||||
{
|
||||
m_gzfp = NULL;
|
||||
m_src_list = NULL;
|
||||
m_PendingSaveFlag = false;
|
||||
}
|
||||
|
||||
|
|
|
@ -102,7 +102,6 @@ private:
|
|||
CpuTabPage* currentCpu;
|
||||
|
||||
wxBoxSizer* topSizer;
|
||||
wxStatusBar* statusBar;
|
||||
wxButton* breakRunButton;
|
||||
wxButton* stepIntoButton;
|
||||
wxButton* stepOverButton;
|
||||
|
|
|
@ -208,6 +208,7 @@ namespace vtlb_private
|
|||
MapData()
|
||||
{
|
||||
vmap = NULL;
|
||||
ppmap = NULL;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue