Skip to content

Fix console aspect ratio Auto resolving to 4:3 - #9

Open
Zulux91 wants to merge 1 commit into
ARMSX2:masterfrom
Zulux91:pr/console-aspect-auto-forces-4-3
Open

Fix console aspect ratio Auto resolving to 4:3#9
Zulux91 wants to merge 1 commit into
ARMSX2:masterfrom
Zulux91:pr/console-aspect-auto-forces-4-3

Conversation

@Zulux91

@Zulux91 Zulux91 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Closes #3.

setAspectRatio was written against ARMSX2's PS2 aspect enum, where index 1 was 4:3, and its javadoc still described that enum. ARMSX3's picker in RendererTab is a different one: 0 stretch, 1 Auto, 2 is 4:3 and 3 is 16:9. So the check for index 1 was matching Auto, and Auto is the default.

Every game therefore came up in 4:3 on a fresh install, and RPCS3's own default for that node is 16:9. Setting the picker to 16:9 by hand worked, which is what the issue reports, because index 3 fell through to the 16:9 branch.

Compare against index 2 instead, so only an explicit 4:3 selects 4:3 and everything else lands on 16:9. That also lines it up with the other writer of this node, writeGsToNative, which maps the same indices by name and already treated anything other than "4:3" as widescreen.

Verified on an Odin 3: config.yml went from "Aspect ratio: 4:3" to "Aspect ratio: 16:9" with the picker left on Auto.

Closes ARMSX2#3.

setAspectRatio was written against ARMSX2's PS2 aspect enum, where index 1 was
4:3, and its javadoc still described that enum. ARMSX3's picker in RendererTab
is a different one: 0 stretch, 1 Auto, 2 is 4:3 and 3 is 16:9. So the check for
index 1 was matching Auto, and Auto is the default.

Every game therefore came up in 4:3 on a fresh install, and RPCS3's own default
for that node is 16:9. Setting the picker to 16:9 by hand worked, which is what
the issue reports, because index 3 fell through to the 16:9 branch.

Compare against index 2 instead, so only an explicit 4:3 selects 4:3 and
everything else lands on 16:9. That also lines it up with the other writer of
this node, writeGsToNative, which maps the same indices by name and already
treated anything other than "4:3" as widescreen.

Verified on an Odin 3: config.yml went from "Aspect ratio: 4:3" to
"Aspect ratio: 16:9" with the picker left on Auto.
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.

[BUG] Setting "Renderer -> Console Aspect Ratio" wrongly defaults to 4:3

1 participant