BACKENDS: OPENGL: Support aspect ratio correction for Hercules games

This commit is contained in:
Cameron Cawley 2024-06-29 14:17:51 +01:00 committed by Filippos Karapetis
parent 6b56a0d630
commit 9970ea6917

View File

@ -1617,9 +1617,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 and 640x400 games, since other games do not need
// this.
return (width == 320 && height == 200) || (width == 640 && height == 400);
// But just for 320x200, 640x400 and Hercules games, since other
// games do not need this.
return (width == 320 && height == 200) || (width == 640 && height == 400) ||
(width == 720 && height == 348) || (width == 720 && height == 350);
}
return false;