Added keyboard shortcut

This commit is contained in:
pagefault
2001-05-28 01:32:10 +00:00
parent f6dd80c1c2
commit 98d3ddb61f
2 changed files with 7 additions and 1 deletions

View File

@@ -970,6 +970,12 @@ GUISoundKeys:
jne .notstereo jne .notstereo
xor byte[cfgStereoSound],1 xor byte[cfgStereoSound],1
.notstereo .notstereo
%ifdef __MSDOS__
cmp dh,'A'
jne .noraisepitch
xor byte[RaisePitch],1
.noraisepitch
%endif
cmp dh,'N' cmp dh,'N'
jne .notnoise jne .notnoise
xor byte[SoundNoiseDis],1 xor byte[SoundNoiseDis],1

View File

@@ -2073,7 +2073,7 @@ DisplayGUISound:
; cmp byte[OSPort],3 ; cmp byte[OSPort],3
; je near .win32b ; je near .win32b
%ifdef __MSDOS__ %ifdef __MSDOS__
GUIOuttextwin2 6,26,44,GUISoundText2b GUIOuttextwin2u 6,26,44,GUISoundText2b,1
%endif %endif
;.win32b ;.win32b
GUIOuttextwin2u 6,26,106,GUISoundText4,8 GUIOuttextwin2u 6,26,106,GUISoundText4,8