diff options
Diffstat (limited to 'Source/Core/DiscIO/VolumeWad.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeWad.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
