diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-10-17 11:30:14 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-10-17 11:30:14 +0000 |
| commit | dcbc8e78d47dabd3762d9c654df01ba57dfd8d4c (patch) | |
| tree | c5fa39bf50e6471e848ac93ac0e173d8aa92530d /Source/Core/DiscIO | |
| parent | 4477f77cf6c37e07433979331c22f362602ac76c (diff) | |
Massive style & comment cleanup of (mostly) GL plugin - also split some large files. A minor speedup for BP writes - merged the two switch()-es.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@899 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO')
| -rw-r--r-- | Source/Core/DiscIO/Src/FileSystemGCWii.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/Core/DiscIO/Src/FileSystemGCWii.cpp b/Source/Core/DiscIO/Src/FileSystemGCWii.cpp index bd9eb34dd3..a06b55836e 100644 --- a/Source/Core/DiscIO/Src/FileSystemGCWii.cpp +++ b/Source/Core/DiscIO/Src/FileSystemGCWii.cpp @@ -158,11 +158,11 @@ bool CFileSystemGCWii::InitFileSystem() {
if (Read32(0x18) == 0x5D1C9EA3)
{
- m_OffsetShift = 2;
+ m_OffsetShift = 2; // Wii file system
}
else if (Read32(0x1c) == 0xC2339F3D)
{
- m_OffsetShift = 0;
+ m_OffsetShift = 0; // GC file system
}
else
{
@@ -206,8 +206,6 @@ bool CFileSystemGCWii::InitFileSystem() return true;
}
-// __________________________________________________________________________________________________
-//
// Changed this stuff from C++ string to C strings for speed in debug mode. Doesn't matter in release, but
// std::string is SLOW in debug mode.
size_t CFileSystemGCWii::BuildFilenames(const size_t _FirstIndex, const size_t _LastIndex, const char* _szDirectory, u64 _NameTableOffset)
@@ -248,5 +246,4 @@ size_t CFileSystemGCWii::BuildFilenames(const size_t _FirstIndex, const size_t _ return CurrentIndex;
}
-} // namespace
-
+} // namespace
|
