summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/FileSystemGCWii.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2014-02-16 19:12:42 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2014-02-16 19:12:42 -0600
commit6b5f6ddaa120beaf619e8efc6982c922fc7dc37d (patch)
tree4b487d028eded527d60320b7408143d2c6e9e5ac /Source/Core/DiscIO/FileSystemGCWii.cpp
parent2b4464f8ddf71d9d908ef5b6c9808cdec6480d57 (diff)
parent6c4ee1753aa2b9e620138801b479365b0569317c (diff)
Merge pull request #82 from lioncash/vertical-alignment
Fix some vertical alignments
Diffstat (limited to 'Source/Core/DiscIO/FileSystemGCWii.cpp')
-rw-r--r--Source/Core/DiscIO/FileSystemGCWii.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/DiscIO/FileSystemGCWii.cpp b/Source/Core/DiscIO/FileSystemGCWii.cpp
index cc09138f3e..c8d5c2b198 100644
--- a/Source/Core/DiscIO/FileSystemGCWii.cpp
+++ b/Source/Core/DiscIO/FileSystemGCWii.cpp
@@ -121,8 +121,8 @@ bool CFileSystemGCWii::ExportFile(const char* _rFullPath, const char* _rExportFi
bool CFileSystemGCWii::ExportApploader(const char* _rExportFolder) const
{
u32 AppSize = Read32(0x2440 + 0x14);// apploader size
- AppSize += Read32(0x2440 + 0x18); // + trailer size
- AppSize += 0x20; // + header size
+ AppSize += Read32(0x2440 + 0x18); // + trailer size
+ AppSize += 0x20; // + header size
DEBUG_LOG(DISCIO,"AppSize -> %x", AppSize);
std::vector<u8> buffer(AppSize);
@@ -150,8 +150,8 @@ u32 CFileSystemGCWii::GetBootDOLSize() const
// Iterate through the 7 code segments
for (u8 i = 0; i < 7; i++)
{
- offset = Read32(DolOffset + 0x00 + i * 4);
- size = Read32(DolOffset + 0x90 + i * 4);
+ offset = Read32(DolOffset + 0x00 + i * 4);
+ size = Read32(DolOffset + 0x90 + i * 4);
if (offset + size > DolSize)
DolSize = offset + size;
}
@@ -159,8 +159,8 @@ u32 CFileSystemGCWii::GetBootDOLSize() const
// Iterate through the 11 data segments
for (u8 i = 0; i < 11; i++)
{
- offset = Read32(DolOffset + 0x1c + i * 4);
- size = Read32(DolOffset + 0xac + i * 4);
+ offset = Read32(DolOffset + 0x1c + i * 4);
+ size = Read32(DolOffset + 0xac + i * 4);
if (offset + size > DolSize)
DolSize = offset + size;
}