Core: Purge WITH_IMGUI define

This commit is contained in:
Connor McLaughlin
2022-03-26 23:09:28 +10:00
parent d5128a5ea9
commit fd76f437b3
10 changed files with 8 additions and 40 deletions

View File

@ -3,11 +3,9 @@
#include "common/state_wrapper.h"
#include "cpu_core.h"
#include "dma.h"
#include "imgui.h"
#include "interrupt_controller.h"
#include "system.h"
#ifdef WITH_IMGUI
#include "imgui.h"
#endif
Log_SetChannel(MDEC);
MDEC g_mdec;
@ -724,7 +722,6 @@ void MDEC::HandleSetScaleCommand()
void MDEC::DrawDebugStateWindow()
{
#ifdef WITH_IMGUI
const float framebuffer_scale = ImGui::GetIO().DisplayFramebufferScale.x;
ImGui::SetNextWindowSize(ImVec2(300.0f * framebuffer_scale, 350.0f * framebuffer_scale), ImGuiCond_FirstUseEver);
@ -762,5 +759,4 @@ void MDEC::DrawDebugStateWindow()
}
ImGui::End();
#endif
}