diff options
author | notaz | 2015-01-05 04:27:03 +0200 |
---|---|---|
committer | notaz | 2015-01-05 04:29:51 +0200 |
commit | de4a0279efefdd2e4595c8fc27f1564f4bff9341 (patch) | |
tree | a03494c7915a8b48c2ff848b35e6d5d8435d84e8 /plugins/dfsound/registers.c | |
parent | 5514a050f4e936f5c333fa1271b11bf5a6a9ea39 (diff) | |
download | pcsx_rearmed-de4a0279efefdd2e4595c8fc27f1564f4bff9341.tar.gz pcsx_rearmed-de4a0279efefdd2e4595c8fc27f1564f4bff9341.tar.bz2 pcsx_rearmed-de4a0279efefdd2e4595c8fc27f1564f4bff9341.zip |
spu: finish offload code to TI C64x DSP
rather disappointing result so far, though :(
Diffstat (limited to 'plugins/dfsound/registers.c')
-rw-r--r-- | plugins/dfsound/registers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/dfsound/registers.c b/plugins/dfsound/registers.c index f6da131..7a49b1c 100644 --- a/plugins/dfsound/registers.c +++ b/plugins/dfsound/registers.c @@ -498,7 +498,8 @@ static void SetPitch(int ch,unsigned short val) // SET PITCH spu.s_chan[ch].iRawPitch=NP;
spu.s_chan[ch].sinc=(NP<<4)|8;
spu.s_chan[ch].sinc_inv=0;
- if(spu_config.iUseInterpolation==1) spu.s_chan[ch].SB[32]=1; // -> freq change in simple interpolation mode: set flag
+ if (spu_config.iUseInterpolation == 1)
+ spu.SB[ch * SB_SIZE + 32] = 1; // -> freq change in simple interpolation mode: set flag
}
////////////////////////////////////////////////////////////////////////
|