mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
DolphinWX: fix input bitmaps not working when background input is off
This commit is contained in:
17
Source/Core/DolphinWX/UINeedsControllerState.cpp
Normal file
17
Source/Core/DolphinWX/UINeedsControllerState.cpp
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user