diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2009-07-01 22:47:01 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2009-07-01 22:47:01 +0000 |
| commit | 599c9fd15c5d151ca30bb7e972f2c1eadf111027 (patch) | |
| tree | 1dbdce9136d112d615d78f9a7a9611ee86dd5563 /Source/Core/DSPCore/Src/DspIntBranch.cpp | |
| parent | 54eea4d1a8079df1dffc00273d48075e566021d8 (diff) | |
revert r3521 - r3523
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3639 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DspIntBranch.cpp')
| -rw-r--r-- | Source/Core/DSPCore/Src/DspIntBranch.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/Core/DSPCore/Src/DspIntBranch.cpp b/Source/Core/DSPCore/Src/DspIntBranch.cpp index 94e9d5d37b..b843526906 100644 --- a/Source/Core/DSPCore/Src/DspIntBranch.cpp +++ b/Source/Core/DSPCore/Src/DspIntBranch.cpp @@ -48,8 +48,8 @@ void call(const UDSPInstruction& opc) // Generic callr implementation
// CALLRcc $R
// 0001 0111 rrr1 cccc
-// Call function if condition cc has been met.Push program counter of
-// instruction following "call" to call stack $st0. Set program counter to
+// Call functionif condition cc has been met.Push program counter of
+// instruction following "call" tocall stack $st0. Set program counter to
// register $R.
void callr(const UDSPInstruction& opc)
{
@@ -121,10 +121,13 @@ void ret(const UDSPInstruction& opc) // Return from exception. Pops stored status register $sr from data stack
// $st1 and program counter PC from call stack $st0 and sets $pc to this
// location.
+// FIXME: is it also conditional? unknown opcodes 0x02fx
void rti(const UDSPInstruction& opc)
{
g_dsp.r[DSP_REG_SR] = dsp_reg_load_stack(DSP_STACK_D);
g_dsp.pc = dsp_reg_load_stack(DSP_STACK_C);
+
+ g_dsp.exception_in_progress_hack = false;
}
// HALT
|
