mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-04 08:17:40 +00:00
BACKENDS: OPENGL: Support aspect ratio correction for Hercules games
This commit is contained in:
parent
6b56a0d630
commit
9970ea6917
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user