[Scummvm-cvs-logs] scummvm master -> 4628833a32303242a036730d5f7ee8a10da28a7a

waltervn waltervn at users.sourceforge.net
Sat Jun 4 15:46:19 CEST 2011


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:
4628833a32 SCI: Set Mac versions of LSL1 and LSL5 to screen height 190.


Commit: 4628833a32303242a036730d5f7ee8a10da28a7a
    https://github.com/scummvm/scummvm/commit/4628833a32303242a036730d5f7ee8a10da28a7a
Author: Walter van Niftrik (walter at scummvm.org)
Date: 2011-06-04T06:32:57-07:00

Commit Message:
SCI: Set Mac versions of LSL1 and LSL5 to screen height 190.

This fixes bug #3310782. However, as I was unable to get the games working in
a Mac emulator, this is an educated guess at this point.

Changed paths:
    engines/sci/graphics/screen.cpp



diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp
index 2446ea5..4ab0b97 100644
--- a/engines/sci/graphics/screen.cpp
+++ b/engines/sci/graphics/screen.cpp
@@ -763,11 +763,14 @@ int16 GfxScreen::kernelPicNotValid(int16 newPicNotValid) {
 uint16 GfxScreen::getLowResScreenHeight() {
 	// Some Mac SCI1/1.1 games only take up 190 rows and do not
 	// have the menu bar.
+	// TODO: Verify that LSL1 and LSL5 use height 190
 	if (g_sci->getPlatform() == Common::kPlatformMacintosh) {
 		switch (g_sci->getGameId()) {
 		case GID_FREDDYPHARKAS:
 		case GID_KQ5:
 		case GID_KQ6:
+		case GID_LSL1:
+		case GID_LSL5:
 		case GID_SQ1:
 			return 190;
 		default:






More information about the Scummvm-git-logs mailing list