UI: Massive revamp, new features and improvements
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
#include "common/log.h"
|
||||
#include "cpu_core.h"
|
||||
#include "dma.h"
|
||||
#include "host.h"
|
||||
#include "imgui.h"
|
||||
#include "interrupt_controller.h"
|
||||
#include "system.h"
|
||||
@ -722,7 +723,7 @@ void MDEC::HandleSetScaleCommand()
|
||||
|
||||
void MDEC::DrawDebugStateWindow()
|
||||
{
|
||||
const float framebuffer_scale = ImGui::GetIO().DisplayFramebufferScale.x;
|
||||
const float framebuffer_scale = Host::GetOSDScale();
|
||||
|
||||
ImGui::SetNextWindowSize(ImVec2(300.0f * framebuffer_scale, 350.0f * framebuffer_scale), ImGuiCond_FirstUseEver);
|
||||
if (!ImGui::Begin("MDEC State", nullptr))
|
||||
|
||||
Reference in New Issue
Block a user