Make gcc happy.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5596 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2010-06-03 20:59:55 +00:00
parent 5539dd4e8b
commit ad82320107
2 changed files with 5 additions and 6 deletions

View File

@ -248,15 +248,15 @@ bool CFileSystemGCWii::DetectFileSystem()
if (Read32(0x18) == 0x5D1C9EA3)
{
m_OffsetShift = 2; // Wii file system
return true;
}
else if (Read32(0x1c) == 0xC2339F3D)
{
m_OffsetShift = 0; // GC file system
return true;
}
else
{
return false;
}
return false;
}
void CFileSystemGCWii::InitFileSystem()

View File

@ -40,9 +40,8 @@ public:
virtual bool ExportDOL(const char* _rExportFolder) const;
private:
bool m_Valid;
bool m_Initialized;
bool m_Valid;
u32 m_OffsetShift; // WII offsets are all shifted
std::vector <SFileInfo> m_FileInfoVector;