From 31cfc73a09a8685cbab20502b4bc132e98e2feb5 Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Tue, 11 Mar 2014 00:30:55 +1300 Subject: Fixes spacing for "for", "while", "switch" and "if" Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining. --- Source/Core/DiscIO/VolumeWad.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/DiscIO/VolumeWad.cpp') diff --git a/Source/Core/DiscIO/VolumeWad.cpp b/Source/Core/DiscIO/VolumeWad.cpp index 7dd34c9662..0277156cb1 100644 --- a/Source/Core/DiscIO/VolumeWad.cpp +++ b/Source/Core/DiscIO/VolumeWad.cpp @@ -66,7 +66,7 @@ std::string CVolumeWAD::GetUniqueID() const u32 Offset = ALIGN_40(hdr_size) + ALIGN_40(cert_size); char GameCode[8]; - if(!Read(Offset + 0x01E0, 4, (u8*)GameCode)) + if (!Read(Offset + 0x01E0, 4, (u8*)GameCode)) return "0"; GameCode[4] = temp.at(0); @@ -94,7 +94,7 @@ bool CVolumeWAD::GetTitleID(u8* _pBuffer) const { u32 Offset = ALIGN_40(hdr_size) + ALIGN_40(cert_size); - if(!Read(Offset + 0x01DC, 8, _pBuffer)) + if (!Read(Offset + 0x01DC, 8, _pBuffer)) return false; return true; -- cgit v1.2.3