Fix savestate name for wad games, crashfix for some wad files without MakerID (thanks lpfaint99), fix for US games using SJIS string (Megaman 9 is one of them) can't do the same for PAL games as it would break special chars = we do need an unicode build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3368 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
b701802fcf
commit
97691461ca
5 files changed
+37
-36
No files matched your search
@@ -145,23 +145,28 @@ bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios)
|
||||
}
|
||||
else if (DiscIO::CNANDContentManager::Access().GetNANDLoader(m_strFilename).IsValid())
|
||||
{
|
||||
const DiscIO::INANDContentLoader& ContentLoader = DiscIO::CNANDContentManager::Access().GetNANDLoader(m_strFilename);
|
||||
u64 TitleID = ContentLoader.GetTitleID();
|
||||
char* pTitleID = (char*)&TitleID;
|
||||
const DiscIO::IVolume* pVolume = DiscIO::CreateVolumeFromFilename(m_strFilename.c_str());
|
||||
const DiscIO::INANDContentLoader& ContentLoader = DiscIO::CNANDContentManager::Access().GetNANDLoader(m_strFilename);
|
||||
u64 TitleID = ContentLoader.GetTitleID();
|
||||
char* pTitleID = (char*)&TitleID;
|
||||
|
||||
// NTSC or PAL
|
||||
if ((pTitleID[0] == 'E') || (pTitleID[0] == 'J'))
|
||||
{
|
||||
bNTSC = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
bNTSC = false;
|
||||
}
|
||||
// NTSC or PAL
|
||||
if (pTitleID[0] == 'E' || pTitleID[0] == 'J')
|
||||
{
|
||||
bNTSC = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
bNTSC = false;
|
||||
}
|
||||
|
||||
bWii = true;
|
||||
Region = EUR_DIR;
|
||||
m_BootType = BOOT_WII_NAND;
|
||||
|
||||
m_strName = pVolume->GetName();
|
||||
m_strUniqueID = pVolume->GetUniqueID();
|
||||
delete pVolume;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user