mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-24 20:35:01 +00:00
Fix showing debug menu bar / Devtools (#2214)
* Fix showing debug menu bar / Devtools * Fix
This commit is contained in:
parent
81e7e4b216
commit
cc2e13873f
2 changed files with 4 additions and 2 deletions
|
@ -17,6 +17,8 @@ using namespace DebugStateType;
|
|||
|
||||
DebugStateImpl& DebugState = *Common::Singleton<DebugStateImpl>::Instance();
|
||||
|
||||
bool DebugStateType::showing_debug_menu_bar = false;
|
||||
|
||||
static ThreadID ThisThreadID() {
|
||||
#ifdef _WIN32
|
||||
return GetCurrentThreadId();
|
||||
|
|
|
@ -35,6 +35,8 @@ class ShaderList;
|
|||
|
||||
namespace DebugStateType {
|
||||
|
||||
extern bool showing_debug_menu_bar;
|
||||
|
||||
enum class QueueType {
|
||||
dcb = 0,
|
||||
ccb = 1,
|
||||
|
@ -131,8 +133,6 @@ class DebugStateImpl {
|
|||
friend class Core::Devtools::Widget::FrameGraph;
|
||||
friend class Core::Devtools::Widget::ShaderList;
|
||||
|
||||
bool showing_debug_menu_bar = false;
|
||||
|
||||
std::queue<std::string> debug_message_popup;
|
||||
|
||||
std::mutex guest_threads_mutex{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue