DSPLLE: Wrapping behaviour for single increments/decrements of address registers implemented. It made little/no difference as far as I can tell :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3129 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-05-01 22:17:22 +00:00
parent 2352cf0fed
commit 474f1343f7
6 changed files with 90 additions and 73 deletions

View file

@ -179,7 +179,7 @@ THREAD_RETURN dsp_thread(void* lpParameter)
{
while (bIsRunning)
{
DSPInterpreter::gdsp_run();
DSPInterpreter::Run();
}
return 0;
}
@ -249,7 +249,7 @@ void Initialize(void *init)
void DSP_StopSoundStream()
{
DSPInterpreter::gdsp_stop();
DSPInterpreter::Stop();
bIsRunning = false;
if (g_dspInitialize.bOnThread)
{
@ -266,13 +266,13 @@ void Shutdown()
u16 DSP_WriteControlRegister(u16 _uFlag)
{
DSPInterpreter::gdsp_write_cr(_uFlag);
return DSPInterpreter::gdsp_read_cr();
DSPInterpreter::WriteCR(_uFlag);
return DSPInterpreter::ReadCR();
}
u16 DSP_ReadControlRegister()
{
return DSPInterpreter::gdsp_read_cr();
return DSPInterpreter::ReadCR();
}
u16 DSP_ReadMailboxHigh(bool _CPUMailbox)
@ -343,7 +343,7 @@ void DSP_Update(int cycles)
// If we're not on a thread, run cycles here.
if (!g_dspInitialize.bOnThread)
{
DSPInterpreter::gdsp_run_cycles(cycles);
DSPInterpreter::RunCycles(cycles);
}
}