Skip to content

Commit 6ef9829

Browse files
Merge pull request #3346 from rderooy/master
Fix soundblaster sounds in SQ4 v1.3
2 parents c3c1a35 + 4a931ac commit 6ef9829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hardware/sblaster.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ static void DSP_PrepareDMA_Old(DMA_MODES mode,bool autoinit,bool sign,bool hispe
10721072
if (sb.dma.force_autoinit)
10731073
autoinit = true;
10741074

1075-
sb.dma.total=1u+(unsigned int)sb.dsp.in.data[0]+(unsigned int)(sb.dsp.in.data[1] << 8u);
1075+
if (!autoinit) sb.dma.total=1u+(unsigned int)sb.dsp.in.data[0]+(unsigned int)(sb.dsp.in.data[1] << 8u);
10761076
sb.dma.autoinit=autoinit;
10771077
sb.dsp.highspeed=hispeed;
10781078
sb.dma.sign=sign;

0 commit comments

Comments
 (0)