aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfsound
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfsound')
-rw-r--r--plugins/dfsound/registers.c3
-rw-r--r--plugins/dfsound/spu.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/plugins/dfsound/registers.c b/plugins/dfsound/registers.c
index 730c753..20a7c14 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 3d598db..d2eed13 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;
}
}