diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-07-20 12:26:32 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-07-20 12:26:32 +0000 |
| commit | 461077b1a13a05870873ae6f98409823c5cc5334 (patch) | |
| tree | 1db6debf1a089cf1c5bf9ece666440849a1db79c /Source/Core/DiscIO/Src/BannerLoaderGC.cpp | |
| parent | c7795c41b7f44bed9e6c1dbab40edebfe8566ded (diff) | |
More GFX plugin cleanup, still no visible changes.
New right-click popup menu in game list - allow editing patch files easily.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@31 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/BannerLoaderGC.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/BannerLoaderGC.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp index 0707cb2053..c8e11eac6d 100644 --- a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp +++ b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp @@ -82,7 +82,7 @@ CBannerLoaderGC::GetBanner(u32* _pBannerImage) bool
-CBannerLoaderGC::GetName(std::string& _rName)
+CBannerLoaderGC::GetName(std::string& _rName, int language)
{
_rName = "invalid image";
@@ -93,7 +93,9 @@ CBannerLoaderGC::GetName(std::string& _rName) DVDBanner2* pBanner = (DVDBanner2*)m_pBannerFile;
- if (!CopyToStringAndCheck(_rName, pBanner->comment[0].longTitle))
+ int lang = 0;
+
+ if (!CopyToStringAndCheck(_rName, language != 0 ? pBanner->comment[0].shortTitle : pBanner->comment[0].longTitle))
{
return(false);
}
|
