summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexManagerBase.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-12-18 05:19:06 +0100
committerGitHub <noreply@github.com>2023-12-18 05:19:06 +0100
commit715a551daccc2a8e782089f7a70902ddf1a91a09 (patch)
tree7a2ccaa8e55d0718846140e2f45bad4f0ad96ce0 /Source/Core/VideoCommon/VertexManagerBase.cpp
parentde8bc32dc53a4821a97e5dccb37527598fe98c6c (diff)
parenta6dfeed3189b43a2267f5819e91e7a1c105ef3a9 (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.cpp5
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) <