From 98752f2a1eef393cacc42e33bb4c66cbfde010ac Mon Sep 17 00:00:00 2001 From: pierre Date: Wed, 29 Dec 2010 20:20:52 +0000 Subject: 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 --- Source/Core/DSPCore/Src/DspIntBranch.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Core/DSPCore/Src/DspIntBranch.cpp') diff --git a/Source/Core/DSPCore/Src/DspIntBranch.cpp b/Source/Core/DSPCore/Src/DspIntBranch.cpp index 826dc4c255..1113425a87 100644 --- a/Source/Core/DSPCore/Src/DspIntBranch.cpp +++ b/Source/Core/DSPCore/Src/DspIntBranch.cpp @@ -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) { -- cgit v1.2.3