mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-31 13:50:46 +01:00
11 lines
220 B
C++
11 lines
220 B
C++
|
|
#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;
|
||
|
|
}
|