summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeWad.cpp
diff options
context:
space:
mode:
authorAnthony Serna <Helios747@users.noreply.github.com>2016-06-25 10:31:46 -0500
committerGitHub <noreply@github.com>2016-06-25 10:31:46 -0500
commit64cf74abb4158ffabe8b5dce3c1a4d42a82b054f (patch)
tree9ced49cda44840936e4130d2d3a762473705c244 /Source/Core/DiscIO/VolumeWad.cpp
parent384637bdb82ac2ce1c87984c1b19594b7f3b2ddc (diff)
parentb5104a79f1d39d2d7d160f2bd984f604a5ae2797 (diff)
Merge pull request #3678 from rukai/dolphinQtPropertiesDialog
DQt2: properties dialog - info tab
Diffstat (limited to 'Source/Core/DiscIO/VolumeWad.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeWad.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeWad.cpp b/Source/Core/DiscIO/VolumeWad.cpp
index c86c490ed4..fe9da2db50 100644
--- a/Source/Core/DiscIO/VolumeWad.cpp
+++ b/Source/Core/DiscIO/VolumeWad.cpp
@@ -89,7 +89,8 @@ std::string CVolumeWAD::GetUniqueID() const
std::string CVolumeWAD::GetMakerID() const
{
char temp[2] = {1};
- // Some weird channels use 0x0000 in place of the MakerID, so we need a check there
+ // Some weird channels use 0x0000 in place of the MakerID, so we need a check
+ // there
if (!Read(0x198 + m_tmd_offset, 2, (u8*)temp) || temp[0] == 0 || temp[1] == 0)
return "00";
@@ -119,7 +120,7 @@ IVolume::EPlatform CVolumeWAD::GetVolumeType() const
return WII_WAD;
}
-std::map<IVolume::ELanguage, std::string> CVolumeWAD::GetNames(bool prefer_long) const
+std::map<IVolume::ELanguage, std::string> CVolumeWAD::GetLongNames() const
{
std::vector<u8> name_data(NAMES_TOTAL_BYTES);
if (!Read(m_opening_bnr_offset + 0x9C, NAMES_TOTAL_BYTES, name_data.data()))