From: notaz Date: Thu, 18 Dec 2014 21:47:06 +0000 (+0200) Subject: spu: remove some hacks X-Git-Tag: r20~28 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=54933c929d2e418e925ae823e3fa7607b2d5ac85 spu: remove some hacks --- diff --git a/plugins/dfsound/registers.c b/plugins/dfsound/registers.c index 730c753a..20a7c140 100644 --- a/plugins/dfsound/registers.c +++ b/plugins/dfsound/registers.c @@ -153,9 +153,6 @@ void CALLBACK SPUwriteRegister(unsigned long reg, unsigned short val, { rvb.StartAddr=(unsigned long)val<<2; rvb.CurrAddr=rvb.StartAddr; - // sync-with-decode-buffers hack.. - if(rvb.StartAddr==0x3ff00) - rvb.CurrAddr+=decode_pos/2; } } goto rvbd; diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index 3d598db4..d2eed13f 100644 --- a/plugins/dfsound/spu.c +++ b/plugins/dfsound/spu.c @@ -780,7 +780,6 @@ void do_samples(unsigned int cycles_to) { //xprintf("decoder irq %x\n", decode_pos); do_irq(); - ns_to = left; } }