From 564abe113d1855b18bec764621a7f66ed9771351 Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Sat, 1 May 2004 18:49:49 +0000 Subject: [PATCH] Fixed DSP-1, next time when I say to test something, listen! --- zsnes/src/init.asm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zsnes/src/init.asm b/zsnes/src/init.asm index d05355ba..da699afa 100644 --- a/zsnes/src/init.asm +++ b/zsnes/src/init.asm @@ -4682,16 +4682,17 @@ NEWSYM CheckROMType cmp byte[DSP1Enable],1 je .initdsp cmp byte[DSP2Enable],1 - je .initdsp + je .initdsp2 cmp byte[DSP3Enable],1 je .initdsp cmp byte[DSP4Enable],1 je .initdsp ; call InitDSP4 jmp .notDSP1Hi +.initdsp2 + call InitDSP2 .initdsp call InitDSP - call InitDSP2 mov byte[DSP1Type],1 cmp byte[romtype],2 jne .notDSP1Hi @@ -4840,6 +4841,8 @@ NEWSYM CheckROMType add ecx,4 cmp ecx,16*4 jne .dsp1loop + cmp byte[DSP2Enable],1 + jne .nodsp1lorom mov dword[memtabler8+3Fh*4],DSP2Read8b mov dword[memtablew8+3Fh*4],DSP2Write8b mov dword[memtabler16+3Fh*4],DSP2Read16b