mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-20 10:02:38 +00:00
Pikmin 2 for the Wii also boots, with corrupt sound this time. Included its UCode, since it's so different from Pikmin 1's and contains the mysterious UnkZelda address. Also, potential run-stop-run bug has been fixed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3965 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5c1ab3b0c3
commit
286f17b7de
3 changed files with 2887 additions and 3 deletions
|
@ -54,8 +54,7 @@ struct DSPState
|
|||
u32 DSPMailbox;
|
||||
bool DSPMailbox_Read[2];
|
||||
|
||||
DSPState()
|
||||
{
|
||||
void Reset() {
|
||||
CPUMailbox = 0x00000000;
|
||||
CPUMailbox_Written[0] = false;
|
||||
CPUMailbox_Written[1] = false;
|
||||
|
@ -64,6 +63,11 @@ struct DSPState
|
|||
DSPMailbox_Read[0] = true;
|
||||
DSPMailbox_Read[1] = true;
|
||||
}
|
||||
|
||||
DSPState()
|
||||
{
|
||||
Reset();
|
||||
}
|
||||
};
|
||||
DSPState g_dspState;
|
||||
|
||||
|
@ -203,6 +207,8 @@ void Initialize(void *init)
|
|||
g_Config.Load();
|
||||
g_pMemory = g_dspInitialize.pGetMemoryPointer(0);
|
||||
|
||||
g_dspState.Reset();
|
||||
|
||||
CDSPHandler::CreateInstance();
|
||||
|
||||
soundStream = AudioCommon::InitSoundStream(new HLEMixer());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue