From 94e5d0f5cc09800bc248bd08c4335a442d0ec00f Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Mon, 9 Dec 2024 22:29:35 -0300 Subject: [PATCH] 32/9 --- src/engine/fox_bg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/fox_bg.c b/src/engine/fox_bg.c index 4510be1b..0aef18ee 100644 --- a/src/engine/fox_bg.c +++ b/src/engine/fox_bg.c @@ -110,7 +110,7 @@ f32 sGroundPositions360z[4] = { }; // Declare global variables for screen dimensions -float gCurrentScreenWidth = 320.0f * 5; // Default width +float gCurrentScreenWidth = 320.0f * 3; // Default width float gCurrentScreenHeight = 240.0f * 3; // Default height // Custom floating-point modulo function (replaces fmodf) @@ -229,7 +229,7 @@ void Background_DrawStarfield(void) { FrameInterpolation_ShouldInterpolateFrame(false); } - float originalWidth = currentScreenWidth / 5; + float originalWidth = currentScreenWidth / 3; float originalAspect = originalWidth / (currentScreenHeight / 3); float renderMaskWidth = originalWidth * (OTRGetAspectRatio() / originalAspect); float marginX = (currentScreenWidth - renderMaskWidth) / 2;