Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix aspect ratio heuristics getting stuck to a state #12435

Merged
merged 2 commits into from Feb 20, 2024

Conversation

Filoppi
Copy link
Contributor

@Filoppi Filoppi commented Dec 17, 2023

Fix aspect ratio heuristics getting stuck to widescreen (or to non widescreen) (m_is_game_widescreen variable) if the user first forced the aspect ratio to 16:9/4:3 and then set it back to Auto.

This specifically happens in games 2D main menus, which have no 3D graphics so the aspect ratio heuristics fail to determine whether the game was widescreen or not. The behaviour can be replicated in The Legend of Zelda: Four Swords Adventures 60Hz mode.

Video showcasing the problem:
https://github.com/dolphin-emu/dolphin/assets/7011366/fad3c4e3-ba1b-4c09-89f4-976ec3fac3d1

@Filoppi Filoppi force-pushed the fix-aspect-ratio-stuck branch 3 times, most recently from 24341a9 to f59cc05 Compare December 18, 2023 18:17
… non widescreen) (`m_is_game_widescreen` variable) if the user first forced the aspect ratio to 16:9/4:3 and then set it back to Auto.
Copy link
Contributor

@AdmiralCurtiss AdmiralCurtiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than that, yeah this looks reasonable.

Source/Core/VideoCommon/Widescreen.cpp Outdated Show resolved Hide resolved
@AdmiralCurtiss AdmiralCurtiss merged commit 5090a02 into dolphin-emu:master Feb 20, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants