diff --git a/pcsx2/CDVD/IsoFS/IsoFS.cpp b/pcsx2/CDVD/IsoFS/IsoFS.cpp index 4a2a250760..c4d5d1ae9e 100644 --- a/pcsx2/CDVD/IsoFS/IsoFS.cpp +++ b/pcsx2/CDVD/IsoFS/IsoFS.cpp @@ -222,10 +222,10 @@ u32 IsoDirectory::GetFileSize(const std::string_view& filePath) const } IsoFileDescriptor::IsoFileDescriptor() + : lba(0) + , size(0) + , flags(0) { - lba = 0; - size = 0; - flags = 0; memset(&date, 0, sizeof(date)); }