dolphin/Source/Core/DolphinWX/UINeedsControllerState.cpp
Lioncash e88c457276 DolphinWX: Resolve missing declaration warnings
Without the include, the prototypes of the functions can't be found
2017-12-07 18:58:20 -05:00

20 lines
427 B
C++

// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "DolphinWX/UINeedsControllerState.h"
#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;
}