diff options
| author | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-12-09 22:29:35 -0300 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-12-09 22:29:35 -0300 |
| commit | 94e5d0f5cc09800bc248bd08c4335a442d0ec00f (patch) | |
| tree | dc288ea9fd835254865efaf9431ef2dd7d0bddc6 /src | |
| parent | 48aa44f4010a39c35bd9d4e7d3642659b425b65f (diff) | |
32/9
Diffstat (limited to 'src')
| -rw-r--r-- | src/engine/fox_bg.c | 4 |
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; |
