[Scummvm-git-logs] scummvm branch-2-7 -> 0b94bf48e0fc8ec3562a52ec3b07bc4ad6a307e1

citral23 noreply at scummvm.org
Mon Jan 23 11:19:02 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:
480e71b690 OPENDINGUX: rs90: restore aspect and remove unneeded _host
0b94bf48e0 OPENDINGUX: use 320x200 videomode for the RG99 instead of 320x240


Commit: 480e71b6907d3856bb6ab485691b169e18d51180
    https://github.com/scummvm/scummvm/commit/480e71b6907d3856bb6ab485691b169e18d51180
Author: Christophe Branchereau (cbranchereau at gmail.com)
Date: 2023-01-23T12:10:36+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: 0b94bf48e0fc8ec3562a52ec3b07bc4ad6a307e1
    https://github.com/scummvm/scummvm/commit/0b94bf48e0fc8ec3562a52ec3b07bc4ad6a307e1
Author: Christophe Branchereau (cbranchereau at gmail.com)
Date: 2023-01-23T12:10:45+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