Code updates

This commit is contained in:
pagefault
2001-10-29 19:26:20 +00:00
parent d3d72dcb8e
commit ffdca88c08
4 changed files with 20 additions and 1 deletions

View File

@@ -1253,12 +1253,14 @@ GUISoundKeys:
jne .nocubicinterp
GUIkeystoggleoptn byte[SoundInterpType],2
.nocubicinterp
%ifndef __MSDOS__
cmp dh,'8'
jne .no8ptinterp
cmp byte[MMXSupport],0
je .no8ptinterp
GUIkeystoggleoptn byte[SoundInterpType],3
.no8ptinterp
%endif
cmp dh,'I'
jne .nosimplefilter
GUIkeystoggleoptn byte[LowPassFilterType],1
@@ -1267,12 +1269,14 @@ GUISoundKeys:
jne .nodynamicfilter
GUIkeystoggleoptn byte[LowPassFilterType],2
.nodynamicfilter
%ifndef __MSDOS__
cmp dh,'H'
jne .nohiqualityfilter
cmp byte[MMXSupport],0
je .nohiqualityfilter
GUIkeystoggleoptn byte[LowPassFilterType],3
.nohiqualityfilter
%endif
ret
.sampratenext db 1,4,5,6,2,3,0,0,0,0