From 60d8e9ae88175bf718fd0eb7b94b4b46f0d1cfff Mon Sep 17 00:00:00 2001 From: Roland van Laar Date: Fri, 18 Mar 2022 21:59:09 +0100 Subject: [PATCH] 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. --- engines/director/lingo/lingo-bytecode.cpp | 2 ++ 1 file changed, 2 insertions(+) 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()); }