mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
InputCommon: Make the "input gate" not racey.
This commit is contained in:
@ -153,12 +153,6 @@ void Host_RequestRenderWindowSize(int w, int h)
|
||||
emit Host::GetInstance()->RequestRenderSize(w, h);
|
||||
}
|
||||
|
||||
bool Host_UINeedsControllerState()
|
||||
{
|
||||
return Settings::Instance().IsControllerStateNeeded() ||
|
||||
(ImGui::GetCurrentContext() && ImGui::GetIO().WantCaptureKeyboard);
|
||||
}
|
||||
|
||||
bool Host_UIBlocksControllerState()
|
||||
{
|
||||
return ImGui::GetCurrentContext() && ImGui::GetIO().WantCaptureKeyboard;
|
||||
|
Reference in New Issue
Block a user