X Tutup
Skip to content

GRAPHICS: Apply aspect ratio correction to 16 color VGA 640x350 video…#6311

Merged
bluegr merged 2 commits intoscummvm:masterfrom
yuv422:add-aspect-ratio-to-16-color-vga-resolution
Dec 17, 2024
Merged

GRAPHICS: Apply aspect ratio correction to 16 color VGA 640x350 video…#6311
bluegr merged 2 commits intoscummvm:masterfrom
yuv422:add-aspect-ratio-to-16-color-vga-resolution

Conversation

@yuv422
Copy link
Member

@yuv422 yuv422 commented Dec 14, 2024

Darkseed uses an unusual video mode 640x350 16 colors. This should be aspect ratio corrected.
This PR applies the Aspect Ratio Correction setting to this video mode.

scummvm-darkseed-cd-00013

@yuv422
Copy link
Member Author

yuv422 commented Dec 14, 2024

I noticed that there are a lot of implementations of gameNeedsAspectRatioCorrection() I assume that I only need to add it to this one as the others are for 3d games?

@yuv422 yuv422 requested a review from ccawley2011 December 14, 2024 05:08
@ccawley2011
Copy link
Member

Do you have any screenshots with aspect ratio correction disabled for comparison?


// 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: 640 x 350 is an EGA resolution. Dark Seed uses a trick to use the VGA palette in this mode, but that is not normally available.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point I'll change the text to clarify that

@yuv422
Copy link
Member Author

yuv422 commented Dec 14, 2024

Do you have any screenshots with aspect ratio correction disabled for comparison?

Yeah it looks like this when uncorrected.

scummvm-darkseed-cd-00019

@bluegr
Copy link
Member

bluegr commented Dec 17, 2024

Thanks!

@bluegr bluegr merged commit a716d98 into scummvm:master Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

X Tutup