Killed sound buffer during pause.
This commit is contained in:
@@ -125,6 +125,7 @@ EXTSYM WDSPRegF5,WDSPRegF6,WDSPRegF7,WDSPRegF8,WDSPRegF9,WDSPRegFA,WDSPRegFB
|
|||||||
EXTSYM WDSPRegFC,WDSPRegFD,WDSPRegFE,WDSPRegFF
|
EXTSYM WDSPRegFC,WDSPRegFD,WDSPRegFE,WDSPRegFF
|
||||||
EXTSYM spcBuffera,DSPMem,SoundInterpType,NoiseData,Voice0Disable
|
EXTSYM spcBuffera,DSPMem,SoundInterpType,NoiseData,Voice0Disable
|
||||||
EXTSYM cfgecho,Surround,echobuf,ENVDisable,LowPassFilterType
|
EXTSYM cfgecho,Surround,echobuf,ENVDisable,LowPassFilterType
|
||||||
|
EXTSYM EMUPause
|
||||||
|
|
||||||
%ifdef __MSDOS__
|
%ifdef __MSDOS__
|
||||||
EXTSYM SB_alloc_dma,SB_quality_limiter,vibracard
|
EXTSYM SB_alloc_dma,SB_quality_limiter,vibracard
|
||||||
@@ -5223,6 +5224,11 @@ NEWSYM ProcessSoundBuffer
|
|||||||
rep stosd
|
rep stosd
|
||||||
.nowriteecho
|
.nowriteecho
|
||||||
|
|
||||||
|
cmp byte[EMUPause],1
|
||||||
|
jne .nopause
|
||||||
|
ret
|
||||||
|
.nopause
|
||||||
|
|
||||||
; Process the sound :I
|
; Process the sound :I
|
||||||
|
|
||||||
ProcessVoiceHandler16 0,ProcessVoice116,1,254
|
ProcessVoiceHandler16 0,ProcessVoice116,1,254
|
||||||
|
|||||||
Reference in New Issue
Block a user