summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore/Src/DSPAccelerator.cpp
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2009-06-30 17:33:38 +0000
committernakeee <nakeee@gmail.com>2009-06-30 17:33:38 +0000
commite6d78bcf3c284fd379ec67d10b0fdcf28460b06a (patch)
tree2178b6deaf658e28acc1825dcb5f9ee1c0c2f795 /Source/Core/DSPCore/Src/DSPAccelerator.cpp
parent22aa9128ee81f2340a0ca44b47b75047ce2cdcc6 (diff)
DSPLLE some more exception clean up, still couldn't get zelda to work:(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3623 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPAccelerator.cpp')
-rw-r--r--Source/Core/DSPCore/Src/DSPAccelerator.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DSPCore/Src/DSPAccelerator.cpp b/Source/Core/DSPCore/Src/DSPAccelerator.cpp
index 5a3441c420..61faef389f 100644
--- a/Source/Core/DSPCore/Src/DSPAccelerator.cpp
+++ b/Source/Core/DSPCore/Src/DSPAccelerator.cpp
@@ -143,12 +143,12 @@ u16 dsp_read_accelerator()
Address = (gdsp_ifx_regs[DSP_ACSAH] << 16) | gdsp_ifx_regs[DSP_ACSAL];
// Do we really need both?
- DSPCore_SetException(3);
- DSPCore_SetException(5);
+ DSPCore_SetException(EXP_4);
+ DSPCore_SetException(EXP_ACCOV);
- // Somehow, YN1 and YN2 must be initialized with their "loop" values, so yeah,
- // it seems likely that we should raise an exception to let the DSP program do that,
- // at least if DSP_FORMAT == 0x0A.
+ // Somehow, YN1 and YN2 must be initialized with their "loop" values,
+ // so yeah, it seems likely that we should raise an exception to let
+ // the DSP program do that, at least if DSP_FORMAT == 0x0A.
}
gdsp_ifx_regs[DSP_ACCAH] = Address >> 16;