[Scummvm-git-logs] scummvm master -> 60d8e9ae88175bf718fd0eb7b94b4b46f0d1cfff

rvanlaar noreply at scummvm.org
Fri Mar 18 21:01:20 UTC 2022


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:
60d8e9ae88 DIRECTOR: LINGO: Implement preloadRam as a no-op


Commit: 60d8e9ae88175bf718fd0eb7b94b4b46f0d1cfff
    https://github.com/scummvm/scummvm/commit/60d8e9ae88175bf718fd0eb7b94b4b46f0d1cfff
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2022-03-18T22:01:10+01:00

Commit Message:
DIRECTOR: LINGO: Implement preloadRam as a no-op

The preloadRam property is used to specify the amount of RAM allocated
for preloading casts. ScummVM assumes there's always anough RAM to run
old games.

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


diff --git a/engines/director/lingo/lingo-bytecode.cpp b/engines/director/lingo/lingo-bytecode.cpp
index 2af5e8efd99..48504f767a6 100644
--- a/engines/director/lingo/lingo-bytecode.cpp
+++ b/engines/director/lingo/lingo-bytecode.cpp
@@ -606,6 +606,8 @@ void LC::cb_theassign2() {
 		g_lingo->_traceLoad = value.asInt();
 	} else if (name == "updateMovieEnabled") {
 		g_lingo->_updateMovieEnabled = bool(value.asInt());
+	} else if (name == "preloadRam") {
+		// We always have the unlimited RAM, ignore
 	} else {
 		warning("BUILDBOT: cb_theassign2 unkown name: %s", name.c_str());
 	}




More information about the Scummvm-git-logs mailing list