[Scummvm-git-logs] scummvm master -> c5be8195ca65dad882f5e90379a4e4a3c8260d41

dreammaster dreammaster at scummvm.org
Sat Mar 27 21:27:53 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c5be8195ca AGS: Fix player movement in Apprentice


Commit: c5be8195ca65dad882f5e90379a4e4a3c8260d41
    https://github.com/scummvm/scummvm/commit/c5be8195ca65dad882f5e90379a4e4a3c8260d41
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-03-27T14:27:40-07:00

Commit Message:
AGS: Fix player movement in Apprentice

Changed paths:
    engines/ags/engine/main/config.cpp


diff --git a/engines/ags/engine/main/config.cpp b/engines/ags/engine/main/config.cpp
index 49c26e0f93..fcca470d5b 100644
--- a/engines/ags/engine/main/config.cpp
+++ b/engines/ags/engine/main/config.cpp
@@ -265,13 +265,6 @@ void read_game_data_location(const ConfigTree &cfg) {
 
 void read_legacy_graphics_config(const ConfigTree &cfg) {
 	// Pre-3.* game resolution setup
-	int default_res = INIreadint(cfg, "misc", "defaultres", 0);
-	int screen_res = INIreadint(cfg, "misc", "screenres", 0);
-	if ((default_res == kGameResolution_320x200 ||
-		default_res == kGameResolution_320x240) && screen_res > 0) {
-		_GP(usetup).override_upscale = true; // run low-res game in high-res mode
-	}
-
 	_GP(usetup).Screen.DisplayMode.Windowed = INIreadint(cfg, "misc", "windowed") > 0;
 	_GP(usetup).Screen.DriverID = INIreadstring(cfg, "misc", "gfxdriver", _GP(usetup).Screen.DriverID);
 




More information about the Scummvm-git-logs mailing list