Added keyboard shortcuts

This commit is contained in:
pagefault
2001-05-20 17:56:12 +00:00
parent 161c5fd570
commit 68455d9a31
2 changed files with 47 additions and 11 deletions

View File

@@ -848,7 +848,7 @@ GUIOptionKeys:
jne .nohighpriority jne .nohighpriority
xor byte[HighPriority],1 xor byte[HighPriority],1
.nohighpriority .nohighpriority
cmp dh,'P' cmp dh,'F'
jne .nofpsatstart jne .nofpsatstart
xor byte[FPSAtStart],1 xor byte[FPSAtStart],1
.nofpsatstart .nofpsatstart
@@ -856,6 +856,42 @@ GUIOptionKeys:
jne .nouse30hz jne .nouse30hz
xor byte[Turbo30hz],1 xor byte[Turbo30hz],1
.nouse30hz .nouse30hz
cmp dh,'C'
jne .nogameclock
xor byte[TimerEnable],1
.nogameclock
cmp dh,'T'
jne .nofastforward
xor byte[FastFwdToggle],1
.nofastforward
cmp dh,'R'
jne .nosramcheck
xor byte[SRAMSave5Sec],1
.nosramcheck
cmp dh,'O'
jne .nooldgfx
xor byte[OldGfxMode2],1
.nooldgfx
cmp dh,'L'
jne .nostartsave
xor byte[LatestSave],1
.nostartsave
cmp dh,'/'
jne .noautostate
xor byte[AutoState],1
.noautostate
cmp dh,'D'
jne .nosavepath
xor byte[DontSavePath],1
.nosavepath
cmp dh,'I'
jne .nospcdisable
xor byte[SPCDisable],1
.nospcdisable
cmp dh,'P'
jne .notransmsg
xor byte[GUIEnableTransp],1
.notransmsg
ret ret
GUIGUIOptnsKeys: GUIGUIOptnsKeys:

View File

@@ -1367,17 +1367,17 @@ DisplayGUIOption:
%ifdef __WIN32__ %ifdef __WIN32__
GUIOuttextwin2u 4,26,81,GUIOptionTextAb,0 GUIOuttextwin2u 4,26,81,GUIOptionTextAb,0
%endif %endif
GUIOuttextwin2u 4,26,91,GUIOptionTextB,1 GUIOuttextwin2u 4,26,91,GUIOptionTextB,0
GUIOuttextwin2u 4,26,101,GUIOptionTextC,2 GUIOuttextwin2u 4,26,101,GUIOptionTextC,2
GUIOuttextwin2 4,26,111,GUIOptionTextD GUIOuttextwin2u 4,26,111,GUIOptionTextD,12
GUIOuttextwin2 4,26,121,GUIOptionTextE GUIOuttextwin2u 4,26,121,GUIOptionTextE,0
GUIOuttextwin2 4,26,131,GUIOptionTextF GUIOuttextwin2u 4,26,131,GUIOptionTextF,1
GUIOuttextwin2 4,26,141,GUIOptionTextG GUIOuttextwin2u 4,26,141,GUIOptionTextG,0
GUIOuttextwin2 4,26,151,GUIOptionTextH GUIOuttextwin2u 4,26,151,GUIOptionTextH,9
GUIOuttextwin2 4,26,161,GUIOptionTextI GUIOuttextwin2u 4,26,161,GUIOptionTextI,15
GUIOuttextwin2 4,26,171,GUIOptionTextJ GUIOuttextwin2u 4,26,171,GUIOptionTextJ,0
GUIOuttextwin2 4,26,181,GUIOptionTextK GUIOuttextwin2u 4,26,181,GUIOptionTextK,1
GUIOuttextwin2 4,26,191,GUIOptionTextL GUIOuttextwin2u 4,26,191,GUIOptionTextL,5
add byte[GUItextcolor],15 add byte[GUItextcolor],15
GUIOuttextwin2 4,5,15,[GUITemp] GUIOuttextwin2 4,5,15,[GUITemp]
GUIOuttextwin2 4,25,30,GUIOptionText2 GUIOuttextwin2 4,25,30,GUIOptionText2