From ec0370d2d1b533516964ae1982ac25f8ae33acb3 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 10 May 2015 19:09:11 +0200 Subject: Volume: Add prefer_long parameter to GetNames GC games with long names store two variations of the name in opening.bnr. This makes the shorter of those names available. For volumes other than GC discs, prefer_long is ignored. --- Source/Core/DiscIO/VolumeDirectory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DiscIO/VolumeDirectory.cpp') diff --git a/Source/Core/DiscIO/VolumeDirectory.cpp b/Source/Core/DiscIO/VolumeDirectory.cpp index 77f4523417..ee22db75ab 100644 --- a/Source/Core/DiscIO/VolumeDirectory.cpp +++ b/Source/Core/DiscIO/VolumeDirectory.cpp @@ -191,7 +191,7 @@ std::string CVolumeDirectory::GetInternalName() const return ""; } -std::map CVolumeDirectory::GetNames() const +std::map CVolumeDirectory::GetNames(bool prefer_long) const { std::map names; std::string name = GetInternalName(); -- cgit v1.2.3