aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v90he.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-07-23 10:33:13 +0000
committerTravis Howell2009-07-23 10:33:13 +0000
commitc8d7b677f864dde05a5544d3b0cb6cac3c22fcbe (patch)
tree93d196b461c859050b8984ec60b7d0d3795f0e41 /engines/scumm/he/script_v90he.cpp
parent68a75c21706928ed8bc20ac96b957e388926ee83 (diff)
downloadscummvm-rg350-c8d7b677f864dde05a5544d3b0cb6cac3c22fcbe.tar.gz
scummvm-rg350-c8d7b677f864dde05a5544d3b0cb6cac3c22fcbe.tar.bz2
scummvm-rg350-c8d7b677f864dde05a5544d3b0cb6cac3c22fcbe.zip
Fix bug #1726909 - HE Games: Glitches after loading saved games, by restircting HE games to their original load/save interface.
svn-id: r42675
Diffstat (limited to 'engines/scumm/he/script_v90he.cpp')
-rw-r--r--engines/scumm/he/script_v90he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/script_v90he.cpp b/engines/scumm/he/script_v90he.cpp
index f97771a4f8..2da58b4480 100644
--- a/engines/scumm/he/script_v90he.cpp
+++ b/engines/scumm/he/script_v90he.cpp
@@ -1426,7 +1426,7 @@ void ScummEngine_v90he::o90_videoOps() {
if (_videoParams.flags == 0)
_videoParams.flags = 4;
- const char *filename = (char *)_videoParams.filename + convertFilePath(_videoParams.filename);
+ const char *filename = (char *)_videoParams.filename + convertFilePath(_videoParams.filename, sizeof(_videoParams.filename));
if (_videoParams.flags & 2) {
VAR(119) = _moviePlay->load(filename, _videoParams.flags, _videoParams.wizResNum);
} else {