From ea699646ec274f7b41777ae8494ebb870779b8b0 Mon Sep 17 00:00:00 2001 From: DaMarkov Date: Thu, 24 Feb 2022 18:55:04 +0100 Subject: [PATCH] Added `gfx_force_43_enabled()` that returns true if the aspect ratio 4:3 is forced. --- src/native/Native.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/native/Native.cpp b/src/native/Native.cpp index 3ee314dd..9ef3d3be 100644 --- a/src/native/Native.cpp +++ b/src/native/Native.cpp @@ -158,6 +158,10 @@ extern "C" { g_width = newWidth; } + bool gfx_force_43_enabled() { + return config.frameBufferEmulation.aspect == 1; + } + void gfx_shutdown() { RDRAMSize = 0; api().RomClosed();