mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
FullscreenUI: Fix debug windows not drawing
This commit is contained in:
parent
51babf4009
commit
18405a713c
|
@ -263,6 +263,11 @@ public:
|
||||||
bool IsTurboEnabled() const { return m_turbo_enabled; }
|
bool IsTurboEnabled() const { return m_turbo_enabled; }
|
||||||
void SetTurboEnabled(bool enabled);
|
void SetTurboEnabled(bool enabled);
|
||||||
|
|
||||||
|
/// ImGui window drawing.
|
||||||
|
void DrawFPSWindow();
|
||||||
|
void DrawOSDMessages();
|
||||||
|
void DrawDebugWindows();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
enum : u32
|
enum : u32
|
||||||
{
|
{
|
||||||
|
@ -369,9 +374,6 @@ protected:
|
||||||
|
|
||||||
virtual void DrawImGuiWindows();
|
virtual void DrawImGuiWindows();
|
||||||
|
|
||||||
void DrawFPSWindow();
|
|
||||||
void DrawOSDMessages();
|
|
||||||
void DrawDebugWindows();
|
|
||||||
void DoFrameStep();
|
void DoFrameStep();
|
||||||
void DoToggleCheats();
|
void DoToggleCheats();
|
||||||
|
|
||||||
|
|
|
@ -264,9 +264,15 @@ void Shutdown()
|
||||||
void Render()
|
void Render()
|
||||||
{
|
{
|
||||||
if (s_debug_menu_enabled)
|
if (s_debug_menu_enabled)
|
||||||
|
{
|
||||||
DrawDebugMenu();
|
DrawDebugMenu();
|
||||||
|
if (System::IsValid())
|
||||||
|
s_host_interface->DrawDebugWindows();
|
||||||
|
}
|
||||||
else if (System::IsValid())
|
else if (System::IsValid())
|
||||||
|
{
|
||||||
DrawStatsOverlay();
|
DrawStatsOverlay();
|
||||||
|
}
|
||||||
|
|
||||||
ImGuiFullscreen::BeginLayout();
|
ImGuiFullscreen::BeginLayout();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue