windows: change debug builds to use fast floating point. since thats what we want final builds to use. also, prevent hotkeys and input keys from working while the game window is not foreground
This commit is contained in:
parent
40eaf9f5d6
commit
448161a65c
|
@ -55,6 +55,7 @@
|
|||
ExceptionHandling="1"
|
||||
BufferSecurityCheck="false"
|
||||
EnableEnhancedInstructionSet="0"
|
||||
FloatingPointModel="2"
|
||||
WarningLevel="1"
|
||||
DebugInformationFormat="4"
|
||||
CallingConvention="0"
|
||||
|
|
|
@ -56,6 +56,7 @@
|
|||
ExceptionHandling="1"
|
||||
BufferSecurityCheck="false"
|
||||
EnableEnhancedInstructionSet="0"
|
||||
FloatingPointModel="2"
|
||||
DebugInformationFormat="4"
|
||||
CallingConvention="1"
|
||||
CompileAs="0"
|
||||
|
|
|
@ -1930,8 +1930,9 @@ bool S9xGetState (WORD KeyIdent)
|
|||
if(KeyIdent == 0 || KeyIdent == VK_ESCAPE) // if it's the 'disabled' key, it's never pressed
|
||||
return true;
|
||||
|
||||
//if(!GUI.BackgroundKeyGamekeys && GUI.hWnd != GetForegroundWindow())
|
||||
// return true;
|
||||
//TODO - option for background game keys
|
||||
if(MainWindow->getHWnd() != GetForegroundWindow())
|
||||
return true;
|
||||
|
||||
if (KeyIdent & 0x8000) // if it's a joystick 'key':
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue