[Scummvm-git-logs] scummvm master -> 7fa860166ea0d60722d46590b85984106a8aaca4

citral23 noreply at scummvm.org
Mon Jan 23 11:04:30 UTC 2023


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:
9da16654d2 OPENDINGUX: rs90: restore aspect and remove unneeded _host
7fa860166e OPENDINGUX: use 320x200 videomode for the RG99 instead of 320x240


Commit: 9da16654d2a5d95c2c84506e179371c8264a56d4
    https://github.com/scummvm/scummvm/commit/9da16654d2a5d95c2c84506e179371c8264a56d4
Author: Christophe Branchereau (cbranchereau at gmail.com)
Date: 2023-01-23T12:04:25+01:00

Commit Message:
OPENDINGUX: rs90: restore aspect and remove unneeded _host

Signed-off-by: Christophe Branchereau <cbranchereau at gmail.com>

Changed paths:
    configure


diff --git a/configure b/configure
index ac9dd12382b..f27bd05acea 100755
--- a/configure
+++ b/configure
@@ -3647,9 +3647,7 @@ if test -n "$_host"; then
 					_16bit=no
 					_highres=no
 					# Scaling is handled by IPU
-					_build_aspect=no
 					_build_scalers=no
-					_host=opendingux-rs90
 					;;
 				*)
 					echo "WARNING: Unknown OpenDingux target"


Commit: 7fa860166ea0d60722d46590b85984106a8aaca4
    https://github.com/scummvm/scummvm/commit/7fa860166ea0d60722d46590b85984106a8aaca4
Author: Christophe Branchereau (cbranchereau at gmail.com)
Date: 2023-01-23T12:04:25+01:00

Commit Message:
OPENDINGUX: use 320x200 videomode for the RG99 instead of 320x240

This allows the software upscaler to kick in, which looks
much better than IPU upscaling on the RG99

Signed-off-by: Christophe Branchereau <cbranchereau at gmail.com>

Changed paths:
    backends/graphics/opendingux/opendingux-graphics.cpp


diff --git a/backends/graphics/opendingux/opendingux-graphics.cpp b/backends/graphics/opendingux/opendingux-graphics.cpp
index 2f2a084b612..7986d3a570e 100644
--- a/backends/graphics/opendingux/opendingux-graphics.cpp
+++ b/backends/graphics/opendingux/opendingux-graphics.cpp
@@ -51,7 +51,8 @@ void OpenDinguxGraphicsManager::getDefaultResolution(uint &w, uint &h) {
 	SDL_Rect const* const*availableModes = SDL_ListModes(&p, SDL_FULLSCREEN|SDL_HWSURFACE);
 	w = availableModes[0]->w;
 	h = availableModes[0]->h;
-	if (h > w) h /= 2; // RG99 has a 320x480 screen, gui should render at 320x240 to look correct
+	// Request 320x200 for the RG99, to let the software aspect correction kick in
+	if ( w == 320 && h == 480 ) h = 200;
 #else
 	w = 320;
 	h = 200;




More information about the Scummvm-git-logs mailing list