summaryrefslogtreecommitdiff
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/fox_bg.c4
1 files 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;