mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-18 04:45:20 +00:00
Move is_input_allowed to GSFrameBase
This commit is contained in:
parent
8d801dadc4
commit
9082908606
5 changed files with 16 additions and 7 deletions
10
rpcs3/Emu/RSX/GSFrameBase.cpp
Normal file
10
rpcs3/Emu/RSX/GSFrameBase.cpp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include "stdafx.h"
|
||||
#include "GSFrameBase.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
atomic_t<bool> g_game_window_focused = false;
|
||||
|
||||
bool is_input_allowed()
|
||||
{
|
||||
return g_game_window_focused || g_cfg.io.background_input_enabled;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue