From 54933c929d2e418e925ae823e3fa7607b2d5ac85 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 18 Dec 2014 23:47:06 +0200 Subject: [PATCH] spu: remove some hacks --- plugins/dfsound/registers.c | 3 --- plugins/dfsound/spu.c | 1 - 2 files changed, 4 deletions(-) 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; } } -- 2.39.2