aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2014-12-18 23:47:06 +0200
committernotaz2014-12-20 02:57:25 +0200
commit54933c929d2e418e925ae823e3fa7607b2d5ac85 (patch)
tree73871796f50438a9fda5ce116be3850941837c66
parent650adfd2da779ba8855623362c2900583e22931e (diff)
downloadpcsx_rearmed-54933c929d2e418e925ae823e3fa7607b2d5ac85.tar.gz
pcsx_rearmed-54933c929d2e418e925ae823e3fa7607b2d5ac85.tar.bz2
pcsx_rearmed-54933c929d2e418e925ae823e3fa7607b2d5ac85.zip
spu: remove some hacks
-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;
}
}