FifoDataFile: In-class initialize member variables where applicable

This commit is contained in:
Lioncash 2017-03-21 15:35:48 -04:00
parent 4e5e7cff0a
commit 780dffcb13
2 changed files with 4 additions and 8 deletions

View File

@ -13,13 +13,9 @@
using namespace FifoFileStruct; using namespace FifoFileStruct;
FifoDataFile::FifoDataFile() : m_Flags(0) FifoDataFile::FifoDataFile() = default;
{
}
FifoDataFile::~FifoDataFile() FifoDataFile::~FifoDataFile() = default;
{
}
bool FifoDataFile::HasBrokenEFBCopies() const bool FifoDataFile::HasBrokenEFBCopies() const
{ {

View File

@ -94,8 +94,8 @@ private:
u32 m_XFRegs[XF_REGS_SIZE]; u32 m_XFRegs[XF_REGS_SIZE];
u8 m_TexMem[TEX_MEM_SIZE]; u8 m_TexMem[TEX_MEM_SIZE];
u32 m_Flags; u32 m_Flags = 0;
u32 m_Version; u32 m_Version = 0;
std::vector<FifoFrameInfo> m_Frames; std::vector<FifoFrameInfo> m_Frames;
}; };