mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Core/DSPCore: Changed g_dsp._r back to g_dsp.r. Removed the check*Exclude
functions accidentally added. Fixed the jitted ar register arithmetic. Added a CMakeList.txt for the UnitTests, but did not add the subdirectory to Source/CMakeLists.txt. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6687 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -123,7 +123,7 @@ void ret(const UDSPInstruction opc)
|
||||
// location.
|
||||
void rti(const UDSPInstruction opc)
|
||||
{
|
||||
g_dsp._r.sr = dsp_reg_load_stack(DSP_STACK_D);
|
||||
g_dsp.r.sr = dsp_reg_load_stack(DSP_STACK_D);
|
||||
g_dsp.pc = dsp_reg_load_stack(DSP_STACK_C);
|
||||
|
||||
}
|
||||
@ -147,9 +147,9 @@ void halt(const UDSPInstruction opc)
|
||||
void HandleLoop()
|
||||
{
|
||||
// Handle looping hardware.
|
||||
const u16 rCallAddress = g_dsp._r.st[0];
|
||||
const u16 rLoopAddress = g_dsp._r.st[2];
|
||||
u16& rLoopCounter = g_dsp._r.st[3];
|
||||
const u16 rCallAddress = g_dsp.r.st[0];
|
||||
const u16 rLoopAddress = g_dsp.r.st[2];
|
||||
u16& rLoopCounter = g_dsp.r.st[3];
|
||||
|
||||
if (rLoopAddress > 0 && rLoopCounter > 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user