aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-05-07 09:53:06 +0000
committerTravis Howell2005-05-07 09:53:06 +0000
commit873c10c16b2f4dd90b121337fc3f30f50d9dae63 (patch)
tree15400afdef6fb260f611cb860a5a47b27cadbbce /scumm
parent36d57ba378f22f796a932afb220e9ff3b0d3eed7 (diff)
downloadscummvm-rg350-873c10c16b2f4dd90b121337fc3f30f50d9dae63.tar.gz
scummvm-rg350-873c10c16b2f4dd90b121337fc3f30f50d9dae63.tar.bz2
scummvm-rg350-873c10c16b2f4dd90b121337fc3f30f50d9dae63.zip
HE games need larger buffer
svn-id: r17941
Diffstat (limited to 'scumm')
-rw-r--r--scumm/string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 6756398dcf..f41a9bb1fb 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -55,7 +55,7 @@ void ScummEngine::printString(int m, const byte *msg) {
void ScummEngine::unkMessage1(const byte *msg) {
- byte buffer[100];
+ byte buffer[500];
addMessageToStack(msg, buffer, sizeof(buffer));
// if ((_gameId == GID_CMI) && _debugMode) { // In CMI, unkMessage1 is used for printDebug output
@@ -84,7 +84,7 @@ void ScummEngine::unkMessage1(const byte *msg) {
void ScummEngine::showMessageDialog(const byte *msg) {
// Original COMI used different code at this point.
// Seemed to use blastText for the messages
- byte buf[100];
+ byte buf[500];
addMessageToStack(msg, buf, sizeof(buf));