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:
helixhorned 2011-11-17 21:09:49 +00:00
parent 53ddc89516
commit 997b3426b5
3 changed files with 0 additions and 13 deletions

View file

@ -10,7 +10,6 @@ extern uint32_t maxrefreshfreq;
extern int32_t glusecds;
extern char rawinput_nopause;
extern char di_disabled;
int32_t win_gethwnd(void);

View file

@ -6,7 +6,6 @@
#include "scancodes.h"
#include "build.h"
char rawinput_nopause = 0;
static BOOL rawinput_started = 0;
static uint8_t KeyboardState[256] = {0}; // VKeys
static int8_t MWheel = 0;
@ -129,9 +128,6 @@ static inline void RI_ProcessKeyboard(const RAWKEYBOARD *rkbd)
case VK_RETURN:
if (rkbd->Flags & RI_KEY_E0) key = sc_kpad_Enter; break;
case VK_PAUSE:
if (rawinput_nopause)
return;
KeyboardState[VKey] = 1 - (rkbd->Flags & RI_KEY_BREAK);
if (rkbd->Flags & RI_KEY_BREAK) return;

View file

@ -8003,7 +8003,6 @@ static void G_ShowDebugHelp(void)
"-noautoload\tDisable loading content from autoload dir\n"
#ifdef _WIN32
"-nodinput\t\tDisable DirectInput (joystick) support\n"
"-nopause\t\tDisable the pause key\n"
#endif
"-nologo\t\tSkip the logo anim\n"
"-ns/-nm\t\tDisable sound or music\n"
@ -8557,13 +8556,6 @@ static void G_CheckCommandLine(int32_t argc, const char **argv)
i++;
continue;
}
if (!Bstrcasecmp(c+1,"nopause"))
{
initprintf("Pause key disabled\n");
rawinput_nopause = 1;
i++;
continue;
}
#endif
if (!Bstrcasecmp(c+1,"noautoload"))
{