diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-03-21 15:35:48 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-03-21 15:41:05 -0400 |
| commit | 780dffcb139d027ca85f1bfc0cd605432ec3bea4 (patch) | |
| tree | 547332df67531285681d09f1b12eb18bd8f18f5e /Source/Core | |
| parent | 4e5e7cff0a1de0bdef693edee02a7e1ee0f48322 (diff) | |
FifoDataFile: In-class initialize member variables where applicable
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/FifoPlayer/FifoDataFile.cpp | 8 | ||||
| -rw-r--r-- | Source/Core/Core/FifoPlayer/FifoDataFile.h | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/Source/Core/Core/FifoPlayer/FifoDataFile.cpp b/Source/Core/Core/FifoPlayer/FifoDataFile.cpp index 231f8cb82d..5a1fd476a3 100644 --- a/Source/Core/Core/FifoPlayer/FifoDataFile.cpp +++ b/Source/Core/Core/FifoPlayer/FifoDataFile.cpp @@ -13,13 +13,9 @@ using namespace FifoFileStruct; -FifoDataFile::FifoDataFile() : m_Flags(0) -{ -} +FifoDataFile::FifoDataFile() = default; -FifoDataFile::~FifoDataFile() -{ -} +FifoDataFile::~FifoDataFile() = default; bool FifoDataFile::HasBrokenEFBCopies() const { diff --git a/Source/Core/Core/FifoPlayer/FifoDataFile.h b/Source/Core/Core/FifoPlayer/FifoDataFile.h index f3c8e92eb3..f57f2fcf4a 100644 --- a/Source/Core/Core/FifoPlayer/FifoDataFile.h +++ b/Source/Core/Core/FifoPlayer/FifoDataFile.h @@ -94,8 +94,8 @@ private: u32 m_XFRegs[XF_REGS_SIZE]; u8 m_TexMem[TEX_MEM_SIZE]; - u32 m_Flags; - u32 m_Version; + u32 m_Flags = 0; + u32 m_Version = 0; std::vector<FifoFrameInfo> m_Frames; }; |
