aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
authorColin Snover2017-11-19 23:00:48 -0600
committerColin Snover2017-11-19 23:04:32 -0600
commit93d465f2e38dc192ad356d143dd8fe426dc336c3 (patch)
tree44070112e377ce7ccc2489547357ea014b7fdf89 /engines/tinsel
parentcac4dfe8e4341bfbfb15db32ab3a610fde416edf (diff)
downloadscummvm-rg350-93d465f2e38dc192ad356d143dd8fe426dc336c3.tar.gz
scummvm-rg350-93d465f2e38dc192ad356d143dd8fe426dc336c3.tar.bz2
scummvm-rg350-93d465f2e38dc192ad356d143dd8fe426dc336c3.zip
TINSEL: Increase maximum number of objects
This needs to be at least 374 to avoid crashes in the in-game save/load dialogues with save games using the maximum 40 letters per save game, so just round up to the next power of two (which increases memory usage by a whopping ~20KiB) to give more than enough space for long save game names. Fixes Trac#6748.
Diffstat (limited to 'engines/tinsel')
-rw-r--r--engines/tinsel/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/object.h b/engines/tinsel/object.h
index 0b6efc3356..097e1872d1 100644
--- a/engines/tinsel/object.h
+++ b/engines/tinsel/object.h
@@ -34,7 +34,7 @@ struct PALQ;
enum {
/** the maximum number of objects */
- NUM_OBJECTS = 256,
+ NUM_OBJECTS = 512,
// object flags
DMA_WNZ = 0x0001, ///< write non-zero data