Core: Purge WITH_IMGUI define
This commit is contained in:
@ -2,11 +2,9 @@
|
||||
#include "common/log.h"
|
||||
#include "common/state_wrapper.h"
|
||||
#include "gpu.h"
|
||||
#include "imgui.h"
|
||||
#include "interrupt_controller.h"
|
||||
#include "system.h"
|
||||
#ifdef WITH_IMGUI
|
||||
#include "imgui.h"
|
||||
#endif
|
||||
Log_SetChannel(Timers);
|
||||
|
||||
Timers g_timers;
|
||||
@ -394,7 +392,6 @@ void Timers::UpdateSysClkEvent()
|
||||
|
||||
void Timers::DrawDebugStateWindow()
|
||||
{
|
||||
#ifdef WITH_IMGUI
|
||||
static constexpr u32 NUM_COLUMNS = 10;
|
||||
static constexpr std::array<const char*, NUM_COLUMNS> column_names = {
|
||||
{"#", "Value", "Target", "Sync", "Reset", "IRQ", "IRQRepeat", "IRQToggle", "Clock Source", "Reached"}};
|
||||
@ -463,5 +460,4 @@ void Timers::DrawDebugStateWindow()
|
||||
|
||||
ImGui::Columns(1);
|
||||
ImGui::End();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user