mirror of https://github.com/PCSX2/pcsx2.git
pcsx2:CDVD: init members in constructor
This commit is contained in:
parent
8083b2c754
commit
78ed0495ce
|
@ -37,8 +37,12 @@ class CsoFileReader : public AsyncFileReader
|
|||
DeclareNoncopyableObject(CsoFileReader);
|
||||
public:
|
||||
CsoFileReader(void) :
|
||||
m_frameSize(0),
|
||||
m_frameShift(0),
|
||||
m_indexShift(0),
|
||||
m_readBuffer(0),
|
||||
m_zlibBuffer(0),
|
||||
m_zlibBufferFrame(0),
|
||||
m_index(0),
|
||||
m_totalSize(0),
|
||||
m_src(0),
|
||||
|
|
|
@ -178,6 +178,7 @@ static wxString iso2indexname(const wxString& isoname) {
|
|||
}
|
||||
|
||||
GzippedFileReader::GzippedFileReader(void) :
|
||||
mBytesRead(0),
|
||||
m_pIndex(0),
|
||||
m_zstates(0),
|
||||
m_src(0),
|
||||
|
|
|
@ -105,6 +105,7 @@ IsoDirectory::IsoDirectory(SectorSource& r)
|
|||
IsoDirectory::IsoDirectory(SectorSource& r, IsoFileDescriptor directoryEntry)
|
||||
: internalReader(r)
|
||||
{
|
||||
m_fstype = FStype_ISO9660;
|
||||
Init(directoryEntry);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue