mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
Core/Host: Allow frontends to block inputs
This commit is contained in:
@ -14,8 +14,9 @@ using namespace ciface::ExpressionParser;
|
||||
|
||||
bool ControlReference::InputGateOn()
|
||||
{
|
||||
return SConfig::GetInstance().m_BackgroundInput || Host_RendererHasFocus() ||
|
||||
Host_UINeedsControllerState();
|
||||
return (SConfig::GetInstance().m_BackgroundInput || Host_RendererHasFocus() ||
|
||||
Host_UINeedsControllerState()) &&
|
||||
!Host_UIBlocksControllerState();
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user