DolphinWX: fix input bitmaps not working when background input is off

This commit is contained in:
Michael Maltese
2017-07-12 00:11:29 -07:00
parent ab5a5ee3ea
commit 0019c34c73
14 changed files with 53 additions and 8 deletions

View File

@ -0,0 +1,17 @@
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include <atomic>
static std::atomic<bool> s_needs_controller_state{false};
void SetUINeedsControllerState(bool needs_controller_state)
{
s_needs_controller_state = needs_controller_state;
}
bool GetUINeedsControllerState()
{
return s_needs_controller_state;
}