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/DolphinWX/MainAndroid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/MainAndroid.cpp') diff --git a/Source/Core/DolphinWX/MainAndroid.cpp b/Source/Core/DolphinWX/MainAndroid.cpp index 4706a63ccf..1389abdcee 100644 --- a/Source/Core/DolphinWX/MainAndroid.cpp +++ b/Source/Core/DolphinWX/MainAndroid.cpp @@ -222,7 +222,7 @@ static std::string GetTitle(std::string filename) std::unique_ptr pVolume(DiscIO::CreateVolumeFromFilename(filename)); if (pVolume != nullptr) { - std::map titles = pVolume->GetNames(); + std::map titles = pVolume->GetNames(true); /* bool is_wii_title = pVolume->GetVolumeType() != DiscIO::IVolume::GAMECUBE_DISC; -- cgit v1.2.3