mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
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:
commit
27320ec924
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user