From 6b2818199c0674abcbd40b258ca9de2d65d0d132 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sun, 3 Mar 2013 19:00:29 -0600 Subject: [PATCH] Fix WAD volume name extracting. --- Source/Core/DiscIO/Src/VolumeWad.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/DiscIO/Src/VolumeWad.cpp b/Source/Core/DiscIO/Src/VolumeWad.cpp index ed95774b2e..a10e5bdb42 100644 --- a/Source/Core/DiscIO/Src/VolumeWad.cpp +++ b/Source/Core/DiscIO/Src/VolumeWad.cpp @@ -111,7 +111,6 @@ bool CVolumeWAD::GetTitleID(u8* _pBuffer) const std::vector CVolumeWAD::GetNames() const { std::vector names; - return names; u32 footer_size; if (!Read(0x1C, 4, (u8*)&footer_size)) @@ -132,7 +131,6 @@ std::vector CVolumeWAD::GetNames() const if (footer_size < 0xF1 || !Read(0x9C + (i * bytes_length) + OpeningBnrOffset, bytes_length, (u8*)&temp)) { names.push_back(""); - ERROR_LOG(COMMON, "added empty WAD name"); } else { @@ -142,7 +140,6 @@ std::vector CVolumeWAD::GetNames() const out_temp.erase(std::find(out_temp.begin(), out_temp.end(), 0x00), out_temp.end()); names.push_back(UTF16ToUTF8(out_temp)); - ERROR_LOG(COMMON, "decoded WAD name: %s", names.back().c_str()); } }