[Scummvm-git-logs] scummvm master -> 6334567866b46104092d1cbc646f8068e26bc0a2

sev- sev at scummvm.org
Sat Jul 11 10:10:25 UTC 2020


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:
6334567866 DIRECTOR: LINGO: Give our machine 32MBytes of RAM


Commit: 6334567866b46104092d1cbc646f8068e26bc0a2
    https://github.com/scummvm/scummvm/commit/6334567866b46104092d1cbc646f8068e26bc0a2
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-07-11T12:09:43+02:00

Commit Message:
DIRECTOR: LINGO: Give our machine 32MBytes of RAM

Changed paths:
    engines/director/lingo/lingo-the.cpp


diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp
index 38179ce724..f7be2d3bb1 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -436,10 +436,9 @@ Datum Lingo::getTheEntity(int entity, Datum &id, int field) {
 		getTheEntitySTUB(kTheFrameTempo);
 		break;
 	case kTheFreeBlock:
-		getTheEntitySTUB(kTheFreeBlock);
-		break;
 	case kTheFreeBytes:
-		getTheEntitySTUB(kTheFreeBytes);
+		d.type = INT;
+		d.u.i = 32 * 1024 * 1024;	// Let's have 32 Mbytes
 		break;
 	case kTheFullColorPermit:
 		getTheEntitySTUB(kTheFullColorPermit);
@@ -542,7 +541,8 @@ Datum Lingo::getTheEntity(int entity, Datum &id, int field) {
 		getTheEntitySTUB(kTheMaxInteger);
 		break;
 	case kTheMemorySize:
-		getTheEntitySTUB(kTheMemorySize);
+		d.type = INT;
+		d.u.i = 32 * 1024 * 1024;	// Let's have 32 Mbytes
 		break;
 	case kTheMenu:
 		getTheEntitySTUB(kTheMenu);




More information about the Scummvm-git-logs mailing list