diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2013-03-03 19:00:29 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2013-03-03 19:00:29 -0600 |
| commit | 6b2818199c0674abcbd40b258ca9de2d65d0d132 (patch) | |
| tree | 34f7e22f4d893f904c5ca41cead57f00675fb399 /Source/Core/DiscIO | |
| parent | bdc96342baa369fc63c013ce385aa780e096ff8f (diff) | |
Fix WAD volume name extracting.
Diffstat (limited to 'Source/Core/DiscIO')
| -rw-r--r-- | Source/Core/DiscIO/Src/VolumeWad.cpp | 3 |
1 files changed, 0 insertions, 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<std::string> CVolumeWAD::GetNames() const { std::vector<std::string> names; - return names; u32 footer_size; if (!Read(0x1C, 4, (u8*)&footer_size)) @@ -132,7 +131,6 @@ std::vector<std::string> 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<std::string> 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()); } } |
