mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #12170 from Filoppi/custom_aspect_ratio
Add support for custom aspect ratios
This commit is contained in:
@ -91,8 +91,9 @@ static bool IsAnamorphicProjection(const Projection::Raw& projection, const View
|
||||
const VideoConfig& config)
|
||||
{
|
||||
// If ratio between our projection and viewport aspect ratios is similar to 16:9 / 4:3
|
||||
// we have an anamorphic projection. This value can be overridden
|
||||
// by a GameINI.
|
||||
// we have an anamorphic projection. This value can be overridden by a GameINI.
|
||||
// Game cheats that change the aspect ratio to natively unsupported ones
|
||||
// won't be automatically recognized here.
|
||||
|
||||
return std::abs(CalculateProjectionViewportRatio(projection, viewport) -
|
||||
config.widescreen_heuristic_widescreen_ratio) <
|
||||
|
Reference in New Issue
Block a user