aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lastexpress')
-rw-r--r--engines/lastexpress/data/animation.cpp2
-rw-r--r--engines/lastexpress/data/archive.cpp1
-rw-r--r--engines/lastexpress/data/cursor.cpp2
-rw-r--r--engines/lastexpress/data/snd.cpp1
-rw-r--r--engines/lastexpress/game/savegame.h1
5 files changed, 5 insertions, 2 deletions
diff --git a/engines/lastexpress/data/animation.cpp b/engines/lastexpress/data/animation.cpp
index cc44d6869e..d105a34f8c 100644
--- a/engines/lastexpress/data/animation.cpp
+++ b/engines/lastexpress/data/animation.cpp
@@ -225,7 +225,7 @@ AnimFrame *Animation::processChunkFrame(Common::SeekableReadStream *in, const Ch
assert (c.frame == 0);
// Create a temporary chunk buffer
- Common::MemoryReadStream *str = in->readStream(c.size);
+ Common::SeekableReadStream *str = in->readStream(c.size);
// Read the frame information
FrameInfo i;
diff --git a/engines/lastexpress/data/archive.cpp b/engines/lastexpress/data/archive.cpp
index 1a5b6905a3..ab95c28b1e 100644
--- a/engines/lastexpress/data/archive.cpp
+++ b/engines/lastexpress/data/archive.cpp
@@ -32,6 +32,7 @@
#include "common/debug.h"
#include "common/file.h"
+#include "common/substream.h"
namespace LastExpress {
diff --git a/engines/lastexpress/data/cursor.cpp b/engines/lastexpress/data/cursor.cpp
index 5489fc3d21..3acb8dd4c0 100644
--- a/engines/lastexpress/data/cursor.cpp
+++ b/engines/lastexpress/data/cursor.cpp
@@ -42,7 +42,7 @@ bool Cursor::load(Common::SeekableReadStream *stream) {
return false;
// Load the whole file to memory
- Common::MemoryReadStream *data = stream->readStream((uint32) stream->size());
+ Common::SeekableReadStream *data = stream->readStream((uint32) stream->size());
delete stream;
if (!data)
return false;
diff --git a/engines/lastexpress/data/snd.cpp b/engines/lastexpress/data/snd.cpp
index 496bd58772..b98e490215 100644
--- a/engines/lastexpress/data/snd.cpp
+++ b/engines/lastexpress/data/snd.cpp
@@ -32,6 +32,7 @@
#include "sound/decoders/adpcm.h"
#include "sound/audiostream.h"
+#include "common/memstream.h"
namespace LastExpress {
diff --git a/engines/lastexpress/game/savegame.h b/engines/lastexpress/game/savegame.h
index d3ba5d13af..5c0e0e9890 100644
--- a/engines/lastexpress/game/savegame.h
+++ b/engines/lastexpress/game/savegame.h
@@ -78,6 +78,7 @@
#include "common/savefile.h"
#include "common/serializer.h"
+#include "common/memstream.h"
namespace LastExpress {