summaryrefslogtreecommitdiff
path: root/Source/DSPSpy/dsp_interface.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-08-17 00:20:04 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-08-17 00:20:04 +0000
commit45feea42c2fa1b95f2b40ddc6c3314c0fe8318f9 (patch)
treea990111e78dfa5c3acc61d4e442a3bb6e6bedbb7 /Source/DSPSpy/dsp_interface.cpp
parent81ee1d1b101fe803458b442e10360a3e93cda805 (diff)
dsp lle: coef is really 0x800 words
dspspy: fill the whole iram! crazy thing, normally likes len%4=0, however to fill the whole iram you use 8191 instead of 8192... :s git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4011 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/DSPSpy/dsp_interface.cpp')
-rw-r--r--Source/DSPSpy/dsp_interface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/DSPSpy/dsp_interface.cpp b/Source/DSPSpy/dsp_interface.cpp
index 5dbaddfbae..5a935f12ef 100644
--- a/Source/DSPSpy/dsp_interface.cpp
+++ b/Source/DSPSpy/dsp_interface.cpp
@@ -21,7 +21,8 @@ void IDSP::SendTask(void *addr, u16 iram_addr, u16 len, u16 start)
{
// addr main ram addr 4byte aligned (1 Gekko word)
// iram_addr dsp addr 4byte aligned (2 DSP words)
- // len block length in bytes multiple of 4
+ // len block length in bytes multiple of 4 (wtf? if you want to fill whole iram, you need 8191)
+ // (8191 % 4 = 3) wtffff
// start dsp iram entry point
while (CheckMailTo());
SendMailTo(0x80F3A001);