diff options
| author | pierre <pierre@pirsoft.de> | 2010-12-29 20:20:52 +0000 |
|---|---|---|
| committer | pierre <pierre@pirsoft.de> | 2010-12-29 20:20:52 +0000 |
| commit | 98752f2a1eef393cacc42e33bb4c66cbfde010ac (patch) | |
| tree | eaaaf735229d283d3514eaaafab0bdf83b6250fa /Source/Core/DSPCore/Src/DspIntBranch.cpp | |
| parent | 765fb4bbe3c056088eb50882ed807d48f286082b (diff) | |
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
Diffstat (limited to 'Source/Core/DSPCore/Src/DspIntBranch.cpp')
| -rw-r--r-- | Source/Core/DSPCore/Src/DspIntBranch.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |
