- fixed the pause key.

Apparently SDL maps this to a different scan code.
Since pause is hard coded in all games the corresponding menu option has been disabled.
This commit is contained in:
Christoph Oelckers 2020-02-16 17:22:14 +01:00
parent 19f9860c11
commit a873dcf6e0
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@
#define sc_F11 0x57 #define sc_F11 0x57
#define sc_F12 0x58 #define sc_F12 0x58
#define sc_Kpad_Star 0x37 #define sc_Kpad_Star 0x37
#define sc_Pause 0x59 #define sc_Pause 0xc5
#define sc_ScrollLock 0x46 #define sc_ScrollLock 0x46
#define sc_NumLock 0x45 #define sc_NumLock 0x45
#define sc_Slash 0x35 #define sc_Slash 0x35

View file

@ -862,7 +862,7 @@ OptionMenu "OtherControlsMenu"// protected
StaticText "" StaticText ""
Control "$CNTRLMNU_SCREENSHOT" , "screenshot" Control "$CNTRLMNU_SCREENSHOT" , "screenshot"
Control "$CNTRLMNU_CONSOLE" , "toggleconsole" Control "$CNTRLMNU_CONSOLE" , "toggleconsole"
Control "$CNTRLMNU_PAUSE" , "pause" //Control "$CNTRLMNU_PAUSE" , "pause"
StaticText "" StaticText ""
Control "$CNTRLMNU_DISPLAY_INC" , "+enlarge_Screen" Control "$CNTRLMNU_DISPLAY_INC" , "+enlarge_Screen"