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
This commit is contained in:
hrydgard
2008-07-20 12:26:32 +00:00
parent c7795c41b7
commit 461077b1a1
52 changed files with 509 additions and 805 deletions

View File

@ -38,7 +38,7 @@ class IBannerLoader
virtual bool GetBanner(u32* _pBannerImage) = 0;
virtual bool GetName(std::string& _rName) = 0;
virtual bool GetName(std::string& _rName, int language) = 0;
virtual bool GetCompany(std::string& _rCompany) = 0;

View File

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

View File

@ -35,7 +35,7 @@ class CBannerLoaderGC
virtual bool GetBanner(u32* _pBannerImage);
virtual bool GetName(std::string& _rName);
virtual bool GetName(std::string& _rName, int language);
virtual bool GetCompany(std::string& _rCompany);

View File

@ -89,7 +89,7 @@ CBannerLoaderWii::GetBanner(u32* _pBannerImage)
bool
CBannerLoaderWii::GetName(std::string& _rName)
CBannerLoaderWii::GetName(std::string& _rName, int language)
{
_rName = m_Name;
return(true);

View File

@ -35,7 +35,7 @@ class CBannerLoaderWii
virtual bool GetBanner(u32* _pBannerImage);
virtual bool GetName(std::string& _rName);
virtual bool GetName(std::string& _rName, int language);
virtual bool GetCompany(std::string& _rCompany);