Fix noise sounds in DQ6

This commit is contained in:
z_demo_z
2002-06-13 21:04:39 +00:00
parent b00986e7f2
commit b1d0e14afa

View File

@@ -1750,12 +1750,14 @@ section .text
mov [prev1],eax mov [prev1],eax
cmp edx,-32768 cmp edx,-32768
jnl %%notless jnl %%notless
mov edx,-32768 mov dx,0
; mov edx,-32768
mov byte[filteron],1 mov byte[filteron],1
%%notless %%notless
cmp edx,32767 cmp edx,32767
jng %%notgreater jng %%notgreater
mov edx,32767 mov dx,0
; mov edx,32767
mov byte[filteron],1 mov byte[filteron],1
%%notgreater %%notgreater
movsx edx,dx movsx edx,dx