mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 17:28:33 +00:00
InputCommon: Make the "input gate" not racey.
This commit is contained in:
parent
93d7b3d159
commit
85ceb37ccd
17 changed files with 32 additions and 63 deletions
|
@ -22,7 +22,9 @@
|
|||
class ControlReference
|
||||
{
|
||||
public:
|
||||
static bool InputGateOn();
|
||||
// Note: this is per thread.
|
||||
static void SetInputGate(bool enable);
|
||||
static bool GetInputGate();
|
||||
|
||||
virtual ~ControlReference();
|
||||
virtual ControlState State(const ControlState state = 0) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue