notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spu: some cdda/xa reverb support
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
registers.c
diff --git
a/plugins/dfsound/registers.c
b/plugins/dfsound/registers.c
index
badd0af
..
adc9c3a
100644
(file)
--- a/
plugins/dfsound/registers.c
+++ b/
plugins/dfsound/registers.c
@@
-150,6
+150,8
@@
void CALLBACK SPUwriteRegister(unsigned long reg, unsigned short val,
goto rvbd;
\r
//-------------------------------------------------//
\r
case H_SPUirqAddr:
\r
goto rvbd;
\r
//-------------------------------------------------//
\r
case H_SPUirqAddr:
\r
+ //if (val & 1)
\r
+ // log_unhandled("w irq with lsb: %08lx %04x\n", reg, val);
\r
spu.pSpuIrq=spu.spuMemC+(((unsigned long) val<<3)&~0xf);
\r
goto upd_irq;
\r
//-------------------------------------------------//
\r
spu.pSpuIrq=spu.spuMemC+(((unsigned long) val<<3)&~0xf);
\r
goto upd_irq;
\r
//-------------------------------------------------//
\r
@@
-505,7
+507,7
@@
static void SetPitch(int ch,unsigned short val) // SET PITCH
spu.s_chan[ch].iRawPitch = NP;
\r
spu.s_chan[ch].sinc = NP << 4;
\r
spu.s_chan[ch].sinc_inv = 0;
\r
spu.s_chan[ch].iRawPitch = NP;
\r
spu.s_chan[ch].sinc = NP << 4;
\r
spu.s_chan[ch].sinc_inv = 0;
\r
- spu.
SB[ch * SB_SIZE + 32] = 1; // -> freq change in simple interpolation mode: set flag
\r
+ spu.
s_chan[ch].bNewPitch = 1;
\r
\r
// don't mess spu.dwChannelsAudible as adsr runs independently
\r
}
\r
\r
// don't mess spu.dwChannelsAudible as adsr runs independently
\r
}
\r