diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-12-18 05:19:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-18 05:19:06 +0100 |
| commit | 715a551daccc2a8e782089f7a70902ddf1a91a09 (patch) | |
| tree | 7a2ccaa8e55d0718846140e2f45bad4f0ad96ce0 /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | de8bc32dc53a4821a97e5dccb37527598fe98c6c (diff) | |
| parent | a6dfeed3189b43a2267f5819e91e7a1c105ef3a9 (diff) | |
Merge pull request #12170 from Filoppi/custom_aspect_ratio
Add support for custom aspect ratios
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index b2f7dc87dd..17450ae0ed 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -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) < |
