Added language select so it actually works. Games that don't have the available language falls back to English from what I see. The checksum isn't checked in the games? Also started added Wiimote usage in Linux, doesn't do anything since the plugin receives NOTHING in Linux for some reason. I blame Masken because I can

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@645 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2008-09-23 21:13:34 +00:00
parent 17cff80f2b
commit 1a27044b0a
7 changed files with 148 additions and 3 deletions

View File

@ -36,6 +36,7 @@ void SCoreStartupParameter::LoadDefaults()
bRunCompareServer = false;
bLockThreads = true;
bWii = false;
SelectedLanguage = 0;
}

View File

@ -46,6 +46,7 @@ struct SCoreStartupParameter
bool bRunCompareServer;
bool bRunCompareClient;
int SelectedLanguage;
bool bWii;

View File

@ -108,6 +108,8 @@ CEXIIPL::CEXIIPL() :
{
memcpy(m_SRAM, sram_dump, sizeof(m_SRAM));
}
// We Overwrite it here since it's possible on the GC to change the language as you please
m_SRAM[0x12] = Core::GetStartupParameter().SelectedLanguage;
WriteProtectMemory(m_pIPL, ROM_SIZE);
m_uAddress = 0;