Uncomment what was accidentally commented out. Sorry.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3692 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
85a3661afc
commit
45771c8614
|
@ -91,9 +91,9 @@ CUCode_Zelda::~CUCode_Zelda()
|
||||||
|
|
||||||
void CUCode_Zelda::Update(int cycles)
|
void CUCode_Zelda::Update(int cycles)
|
||||||
{
|
{
|
||||||
// if (!m_rMailHandler.IsEmpty())
|
if (!m_rMailHandler.IsEmpty())
|
||||||
// g_dspInitialize.pGenerateDSPInterrupt();
|
g_dspInitialize.pGenerateDSPInterrupt();
|
||||||
if (m_bSyncCmdPending && (m_CurBuffer == m_NumBuffers) && (m_rMailHandler.IsEmpty()))
|
/* if (m_bSyncCmdPending && (m_CurBuffer == m_NumBuffers) && (m_rMailHandler.IsEmpty()))
|
||||||
{
|
{
|
||||||
m_rMailHandler.PushMail(DSP_FRAME_END);
|
m_rMailHandler.PushMail(DSP_FRAME_END);
|
||||||
g_dspInitialize.pGenerateDSPInterrupt();
|
g_dspInitialize.pGenerateDSPInterrupt();
|
||||||
|
@ -103,7 +103,7 @@ void CUCode_Zelda::Update(int cycles)
|
||||||
soundStream->Update(); //do it in this thread to avoid sync problems
|
soundStream->Update(); //do it in this thread to avoid sync problems
|
||||||
|
|
||||||
m_bSyncCmdPending = false;
|
m_bSyncCmdPending = false;
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void CUCode_Zelda::HandleMail(u32 _uMail)
|
void CUCode_Zelda::HandleMail(u32 _uMail)
|
||||||
|
@ -153,14 +153,14 @@ void CUCode_Zelda::HandleMail(u32 _uMail)
|
||||||
|
|
||||||
if (m_CurBuffer == m_NumBuffers)
|
if (m_CurBuffer == m_NumBuffers)
|
||||||
{
|
{
|
||||||
//m_rMailHandler.PushMail(DSP_FRAME_END);
|
m_rMailHandler.PushMail(DSP_FRAME_END);
|
||||||
//g_dspInitialize.pGenerateDSPInterrupt();
|
//g_dspInitialize.pGenerateDSPInterrupt();
|
||||||
|
|
||||||
// soundStream->GetMixer()->SetHLEReady(true);
|
soundStream->GetMixer()->SetHLEReady(true);
|
||||||
// DEBUG_LOG(DSPHLE, "Update the SoundThread to be in sync");
|
DEBUG_LOG(DSPHLE, "Update the SoundThread to be in sync");
|
||||||
// soundStream->Update(); //do it in this thread to avoid sync problems
|
soundStream->Update(); //do it in this thread to avoid sync problems
|
||||||
|
|
||||||
//m_bSyncCmdPending = false;
|
m_bSyncCmdPending = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue