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
This commit is contained in:
hyperiris 2009-02-12 13:03:39 +00:00
parent eb1c6163f7
commit 1bed914bf4

View File

@ -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;