aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/heapmem.cpp
diff options
context:
space:
mode:
authorMax Horn2009-10-26 20:36:44 +0000
committerMax Horn2009-10-26 20:36:44 +0000
commitd2e64a350ae9aa6955b2dd7a3715958cdb5477f5 (patch)
treeb76bffaf3c9be57f4ce5a4e0cc41448a87f20af5 /engines/tinsel/heapmem.cpp
parente1de772e721a7dc0d62223c17617f72af3d2308f (diff)
downloadscummvm-rg350-d2e64a350ae9aa6955b2dd7a3715958cdb5477f5.tar.gz
scummvm-rg350-d2e64a350ae9aa6955b2dd7a3715958cdb5477f5.tar.bz2
scummvm-rg350-d2e64a350ae9aa6955b2dd7a3715958cdb5477f5.zip
TINSEL: cleanup
svn-id: r45417
Diffstat (limited to 'engines/tinsel/heapmem.cpp')
-rw-r--r--engines/tinsel/heapmem.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/tinsel/heapmem.cpp b/engines/tinsel/heapmem.cpp
index 42584d5f67..6ba5fd5a88 100644
--- a/engines/tinsel/heapmem.cpp
+++ b/engines/tinsel/heapmem.cpp
@@ -31,6 +31,9 @@
namespace Tinsel {
+#define NUM_MNODES 192 // the number of memory management nodes (was 128, then 192)
+
+
// internal allocation flags
#define DWM_USED 0x0001 ///< the objects memory block is in use
#define DWM_DISCARDED 0x0100 ///< the objects memory block has been discarded
@@ -38,7 +41,6 @@ namespace Tinsel {
#define DWM_SENTINEL 0x0400 ///< the objects memory block is a sentinel
-
// Specifies the total amount of memory required for DW1 demo, DW1, or DW2 respectively.
// Currently this is set at 5MB for the DW1 demo and DW1 and 10MB for DW2
// This could probably be reduced somewhat