X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfsound%2Fspu.c;h=06cc4761c0356fa6199b806fcf6c85c2ec8cc98c;hp=8c6f7d2f970a027a7f5d5d4545c696f72f10644d;hb=be1cb678c445cb8d9a4d707c698f0dc600a490ea;hpb=7e44d49d2a65d6e45d6f99f72a8cccdb02654aae diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index 8c6f7d2f..06cc4761 100644 --- a/plugins/dfsound/spu.c +++ b/plugins/dfsound/spu.c @@ -485,6 +485,7 @@ static int decode_block(int ch) } s_chan[ch].pCurr = start; // store values for next cycle + s_chan[ch].bJump = flags & 1; return ret; } @@ -503,13 +504,14 @@ static int skip_block(int ch) } if(flags & 4) - s_chan[ch].pLoop=start; + s_chan[ch].pLoop = start; s_chan[ch].pCurr += 16; if(flags & 1) s_chan[ch].pCurr = s_chan[ch].pLoop; + s_chan[ch].bJump = flags & 1; return ret; }