[Scummvm-git-logs] scummvm master -> a716d981aa831ccb5c9387d666767cc9df937c04
bluegr
noreply at scummvm.org
Tue Dec 17 22:09:41 UTC 2024
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
292d66e95f GRAPHICS: Apply aspect ratio correction to 16 color VGA 640x350 video mode.
a716d981aa GRAPHICS: Changed text to clarify EGA video mode.
Commit: 292d66e95fb5f9a84a7c73cb5f48b1240fbb9a70
https://github.com/scummvm/scummvm/commit/292d66e95fb5f9a84a7c73cb5f48b1240fbb9a70
Author: Eric Fry (yuv422 at reversedgames.com)
Date: 2024-12-18T00:09:38+02:00
Commit Message:
GRAPHICS: Apply aspect ratio correction to 16 color VGA 640x350 video mode.
Changed paths:
backends/graphics/opengl/opengl-graphics.cpp
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp
index 462e18b7d99..1601b34a37e 100644
--- a/backends/graphics/opengl/opengl-graphics.cpp
+++ b/backends/graphics/opengl/opengl-graphics.cpp
@@ -1633,9 +1633,10 @@ bool OpenGLGraphicsManager::gameNeedsAspectRatioCorrection() const {
const uint height = getHeight();
// In case we enable aspect ratio correction we force a 4/3 ratio.
- // But just for 320x200, 640x400 and Hercules games, since other
+ // But just for 320x200, 640x400, 640x350 (16 color VGA) and Hercules games, since other
// games do not need this.
return (width == 320 && height == 200) || (width == 640 && height == 400) ||
+ (width == 640 && height == 350) ||
(width == 720 && height == 348) || (width == 720 && height == 350);
}
Commit: a716d981aa831ccb5c9387d666767cc9df937c04
https://github.com/scummvm/scummvm/commit/a716d981aa831ccb5c9387d666767cc9df937c04
Author: Eric Fry (yuv422 at reversedgames.com)
Date: 2024-12-18T00:09:38+02:00
Commit Message:
GRAPHICS: Changed text to clarify EGA video mode.
Changed paths:
backends/graphics/opengl/opengl-graphics.cpp
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp
index 1601b34a37e..9e5a792e820 100644
--- a/backends/graphics/opengl/opengl-graphics.cpp
+++ b/backends/graphics/opengl/opengl-graphics.cpp
@@ -1633,7 +1633,7 @@ bool OpenGLGraphicsManager::gameNeedsAspectRatioCorrection() const {
const uint height = getHeight();
// In case we enable aspect ratio correction we force a 4/3 ratio.
- // But just for 320x200, 640x400, 640x350 (16 color VGA) and Hercules games, since other
+ // But just for 320x200, 640x400, 640x350 (16 color EGA) and Hercules games, since other
// games do not need this.
return (width == 320 && height == 200) || (width == 640 && height == 400) ||
(width == 640 && height == 350) ||
More information about the Scummvm-git-logs
mailing list