Fixed channel loading from the Wii System Menu. The DOL is not being loaded properly by the system probably due to caching. Wiimotes will need to be manually reconnected after the channel loads.
Also fixed a small bug in the PowerPC ResetRegisters function (clearing CRFast). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7281 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
540238cf79
commit
1e2d922342
|
@ -699,6 +699,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
|
|||
{
|
||||
LoadWAD(Common::CreateTitleContentPath(TitleID));
|
||||
CDolLoader DolLoader(pContent->m_pData, pContent->m_Size);
|
||||
DolLoader.Load(); // TODO: Check why sysmenu does not load the DOL correctly
|
||||
PC = DolLoader.GetEntryPoint() | 0x80000000;
|
||||
IOSv = ContentLoader.GetIosVersion();
|
||||
bSuccess = true;
|
||||
|
|
|
@ -115,6 +115,11 @@ void ResetRegisters()
|
|||
ppcState.npc = 0;
|
||||
ppcState.Exceptions = 0;
|
||||
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
ppcState.cr_fast[i] = 0;
|
||||
}
|
||||
|
||||
TL = 0;
|
||||
TU = 0;
|
||||
SystemTimers::TimeBaseSet();
|
||||
|
|
Loading…
Reference in New Issue