diff --git a/pcsx2/CDVD/CsoFileReader.h b/pcsx2/CDVD/CsoFileReader.h index 04f5c19ab1..dca3ffe890 100644 --- a/pcsx2/CDVD/CsoFileReader.h +++ b/pcsx2/CDVD/CsoFileReader.h @@ -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), diff --git a/pcsx2/CDVD/GzippedFileReader.cpp b/pcsx2/CDVD/GzippedFileReader.cpp index 7c2dcc40db..536a59ed40 100644 --- a/pcsx2/CDVD/GzippedFileReader.cpp +++ b/pcsx2/CDVD/GzippedFileReader.cpp @@ -178,6 +178,7 @@ static wxString iso2indexname(const wxString& isoname) { } GzippedFileReader::GzippedFileReader(void) : + mBytesRead(0), m_pIndex(0), m_zstates(0), m_src(0), diff --git a/pcsx2/CDVD/IsoFS/IsoFS.cpp b/pcsx2/CDVD/IsoFS/IsoFS.cpp index 47c4906933..80a215ccd4 100644 --- a/pcsx2/CDVD/IsoFS/IsoFS.cpp +++ b/pcsx2/CDVD/IsoFS/IsoFS.cpp @@ -105,6 +105,7 @@ IsoDirectory::IsoDirectory(SectorSource& r) IsoDirectory::IsoDirectory(SectorSource& r, IsoFileDescriptor directoryEntry) : internalReader(r) { + m_fstype = FStype_ISO9660; Init(directoryEntry); }