Skip to content

Fix ABC aspect handling in keep-aspect mode#33

Open
zhgqfqxzdm wants to merge 2 commits into
lindbergh-loader:mainfrom
zhgqfqxzdm:ABC-Fix
Open

Fix ABC aspect handling in keep-aspect mode#33
zhgqfqxzdm wants to merge 2 commits into
lindbergh-loader:mainfrom
zhgqfqxzdm:ABC-Fix

Conversation

@zhgqfqxzdm

Copy link
Copy Markdown
Contributor

Fixes ABC stretching to full 16:9 when manually set to 1920x1080 with KEEP_ASPECT_RATIO enabled.

Before this, ABC would boot looking stretched/wrong at first. Once it reached the high score screen / attract mode, it would correct itself and fit properly, which made it look like the render size changed partway through startup.

The issue was that ABC was using the manual window size as the blit size, so the aspect math treated it like it was already 16:9. This keeps ABC treated as 640x480 in the Windows keep-aspect path, so it stays 4:3 / 1440x1080 inside a 1920x1080 window.

KEEP_ASPECT_RATIO=false still fills the full window like before, and AUTO resolution behavior should be unchanged.

The Windows-only guard was added so this does not change Linux behavior without testing it there first.

AI Disclosure: AI assistance was used as a learning/reference aid and for error checking during this PR. The implementation, testing, debugging, and final review were performed manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant