Move is_input_allowed to GSFrameBase

This commit is contained in:
Megamouse 2025-02-24 21:45:22 +01:00
parent 8d801dadc4
commit 9082908606
5 changed files with 16 additions and 7 deletions

View 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;
}