Code within #if 0 that if enabled, makes more mail come with zelda uCodes.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2671 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 2009-03-17 08:58:52 +00:00
parent 4761f7a3f2
commit d9d711d9d5
1 changed files with 13 additions and 0 deletions

View File

@ -80,7 +80,20 @@ void CUCode_Zelda::HandleMail(u32 _uMail)
m_step = 0; m_step = 0;
} else { } else {
// Release halt // Release halt
#if 0
// The _uMail seems to be 1,2,3 when bitshifted right 16
// after 3, we get some unknown values, probably supposed to be in the list
if((_uMail >> 16) == 1)
m_rMailHandler.PushMail(DSP_RESUME);
else if((_uMail >> 16) == 2)
m_rMailHandler.PushMail(DSP_YIELD);
else if((_uMail >> 16) == 3)
m_rMailHandler.PushMail(DSP_DONE);
else
{ /*Unknown values here*/}
#else
m_rMailHandler.PushMail(DSP_RESUME); m_rMailHandler.PushMail(DSP_RESUME);
#endif
g_dspInitialize.pGenerateDSPInterrupt(); g_dspInitialize.pGenerateDSPInterrupt();
} }
} }