[N-Rage] Ignore input if main window isn't focused

This commit is contained in:
shygoo 2019-01-24 13:50:22 -06:00
parent 25bd63cc9b
commit c51232bc37
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ EXPORT void CALL GetKeys(int Control, BUTTONS * Keys )
#ifdef ENABLE_RAWPAK_DEBUG
DebugWriteA("CALLED: GetKeys\n");
#endif
if( g_bConfiguring )
if( g_bConfiguring || GetForegroundWindow() != g_strEmuInfo.hMainWindow)
Keys->Value = 0;
else
{