mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
Remove the -nopause switch of r2108, since it didn't help at all.
git-svn-id: https://svn.eduke32.com/eduke32@2114 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
53ddc89516
commit
997b3426b5
3 changed files with 0 additions and 13 deletions
|
@ -10,7 +10,6 @@ extern uint32_t maxrefreshfreq;
|
||||||
|
|
||||||
extern int32_t glusecds;
|
extern int32_t glusecds;
|
||||||
|
|
||||||
extern char rawinput_nopause;
|
|
||||||
extern char di_disabled;
|
extern char di_disabled;
|
||||||
|
|
||||||
int32_t win_gethwnd(void);
|
int32_t win_gethwnd(void);
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
#include "scancodes.h"
|
#include "scancodes.h"
|
||||||
#include "build.h"
|
#include "build.h"
|
||||||
|
|
||||||
char rawinput_nopause = 0;
|
|
||||||
static BOOL rawinput_started = 0;
|
static BOOL rawinput_started = 0;
|
||||||
static uint8_t KeyboardState[256] = {0}; // VKeys
|
static uint8_t KeyboardState[256] = {0}; // VKeys
|
||||||
static int8_t MWheel = 0;
|
static int8_t MWheel = 0;
|
||||||
|
@ -129,9 +128,6 @@ static inline void RI_ProcessKeyboard(const RAWKEYBOARD *rkbd)
|
||||||
case VK_RETURN:
|
case VK_RETURN:
|
||||||
if (rkbd->Flags & RI_KEY_E0) key = sc_kpad_Enter; break;
|
if (rkbd->Flags & RI_KEY_E0) key = sc_kpad_Enter; break;
|
||||||
case VK_PAUSE:
|
case VK_PAUSE:
|
||||||
if (rawinput_nopause)
|
|
||||||
return;
|
|
||||||
|
|
||||||
KeyboardState[VKey] = 1 - (rkbd->Flags & RI_KEY_BREAK);
|
KeyboardState[VKey] = 1 - (rkbd->Flags & RI_KEY_BREAK);
|
||||||
if (rkbd->Flags & RI_KEY_BREAK) return;
|
if (rkbd->Flags & RI_KEY_BREAK) return;
|
||||||
|
|
||||||
|
|
|
@ -8003,7 +8003,6 @@ static void G_ShowDebugHelp(void)
|
||||||
"-noautoload\tDisable loading content from autoload dir\n"
|
"-noautoload\tDisable loading content from autoload dir\n"
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
"-nodinput\t\tDisable DirectInput (joystick) support\n"
|
"-nodinput\t\tDisable DirectInput (joystick) support\n"
|
||||||
"-nopause\t\tDisable the pause key\n"
|
|
||||||
#endif
|
#endif
|
||||||
"-nologo\t\tSkip the logo anim\n"
|
"-nologo\t\tSkip the logo anim\n"
|
||||||
"-ns/-nm\t\tDisable sound or music\n"
|
"-ns/-nm\t\tDisable sound or music\n"
|
||||||
|
@ -8557,13 +8556,6 @@ static void G_CheckCommandLine(int32_t argc, const char **argv)
|
||||||
i++;
|
i++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!Bstrcasecmp(c+1,"nopause"))
|
|
||||||
{
|
|
||||||
initprintf("Pause key disabled\n");
|
|
||||||
rawinput_nopause = 1;
|
|
||||||
i++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
if (!Bstrcasecmp(c+1,"noautoload"))
|
if (!Bstrcasecmp(c+1,"noautoload"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue