ImGuiManager: Remove unused function

This commit is contained in:
Stenzek
2024-08-26 18:53:30 +10:00
parent 63bf64b05d
commit 2c27b20090
9 changed files with 8 additions and 19 deletions

View File

@ -6,7 +6,6 @@
#include "cdrom.h"
#include "cpu_core.h"
#include "gpu.h"
#include "host.h"
#include "imgui.h"
#include "interrupt_controller.h"
#include "mdec.h"
@ -918,7 +917,7 @@ void DMA::DrawDebugStateWindow()
{"#", "Req", "Direction", "Chopping", "Mode", "Busy", "Enable", "Priority", "IRQ", "Flag"}};
static constexpr std::array<const char*, 4> sync_mode_names = {{"Manual", "Request", "LinkedList", "Reserved"}};
const float framebuffer_scale = Host::GetOSDScale();
const float framebuffer_scale = ImGuiManager::GetGlobalScale();
ImGui::SetNextWindowSize(ImVec2(850.0f * framebuffer_scale, 250.0f * framebuffer_scale), ImGuiCond_FirstUseEver);
if (!ImGui::Begin("DMA State", nullptr))