Merge pull request #3232 from phire/minor-cleanup

Just a minor cleanup. Totally not the cause of random FifoCi failures.
This commit is contained in:
Markus Wick 2015-11-04 11:56:50 +01:00
commit 27320ec924
2 changed files with 3 additions and 2 deletions

View File

@ -30,7 +30,7 @@ FifoDataFile::~FifoDataFile()
bool FifoDataFile::HasBrokenEFBCopies() const bool FifoDataFile::HasBrokenEFBCopies() const
{ {
return version < 2; return m_Version < 2;
} }
void FifoDataFile::SetIsWii(bool isWii) void FifoDataFile::SetIsWii(bool isWii)
@ -150,6 +150,7 @@ FifoDataFile* FifoDataFile::Load(const std::string &filename, bool flagsOnly)
FifoDataFile* dataFile = new FifoDataFile; FifoDataFile* dataFile = new FifoDataFile;
dataFile->m_Flags = header.flags; dataFile->m_Flags = header.flags;
dataFile->m_Version = header.min_loader_version;
if (flagsOnly) if (flagsOnly)
{ {

View File

@ -94,7 +94,7 @@ private:
u32 m_XFRegs[XF_REGS_SIZE]; u32 m_XFRegs[XF_REGS_SIZE];
u32 m_Flags; u32 m_Flags;
u32 version; u32 m_Version;
std::vector<FifoFrameInfo> m_Frames; std::vector<FifoFrameInfo> m_Frames;
}; };