summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO
diff options
context:
space:
mode:
authorhyperiris <hyperiris@gmail.com>2009-02-12 13:03:39 +0000
committerhyperiris <hyperiris@gmail.com>2009-02-12 13:03:39 +0000
commit1bed914bf47ccd19cdbe8e2e977378670f31aa12 (patch)
tree4fa0d0df00aefb137401a2f9caf8ccc71c0ef9a1 /Source/Core/DiscIO
parenteb1c6163f7335c830d61f58dc21803f95740854a (diff)
a tiny fix, I found MGS:TT PAL use BNR1 format opening.bnr, so only English was filled.
now, all 6 languages were filled when opening.bnr is BNR1 type. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2221 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO')
-rw-r--r--Source/Core/DiscIO/Src/BannerLoaderGC.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
index a7a911642a..b04b1aaa95 100644
--- a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
+++ b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
@@ -116,8 +116,10 @@ CBannerLoaderGC::GetName(std::string _rName[])
{
memcpy(tempBuffer, pBanner->comment.shortTitle, 32);
}
-
- CopyToStringAndCheck(_rName[0], tempBuffer);
+ for (int i = 0; i < 6; i++)
+ {
+ CopyToStringAndCheck(_rName[i], tempBuffer);
+ }
returnCode = true;
}
break;
@@ -189,7 +191,10 @@ CBannerLoaderGC::GetDescription(std::string* _rDescription)
DVDBanner* pBanner = (DVDBanner*)m_pBannerFile;
char tempBuffer[129] = {0};
memcpy(tempBuffer, pBanner->comment.comment, 128);
- CopyToStringAndCheck(_rDescription[0], tempBuffer);
+ for (int i = 0; i < 6; i++)
+ {
+ CopyToStringAndCheck(_rDescription[i], tempBuffer);
+ }
returnCode = true;
}
break;