aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed/midi.cpp
diff options
context:
space:
mode:
authorMax Horn2010-11-19 17:03:07 +0000
committerMax Horn2010-11-19 17:03:07 +0000
commit2180b2d6b534d3786f89d02fe508c60c68b7ff89 (patch)
treeac7af0e5f5049537f4c81c401d5685bebbb47068 /engines/testbed/midi.cpp
parent111384473bb65741f7f2b945e1c00e6aeccc805c (diff)
downloadscummvm-rg350-2180b2d6b534d3786f89d02fe508c60c68b7ff89.tar.gz
scummvm-rg350-2180b2d6b534d3786f89d02fe508c60c68b7ff89.tar.bz2
scummvm-rg350-2180b2d6b534d3786f89d02fe508c60c68b7ff89.zip
COMMON: Split common/stream.h into several headers
svn-id: r54385
Diffstat (limited to 'engines/testbed/midi.cpp')
-rw-r--r--engines/testbed/midi.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/testbed/midi.cpp b/engines/testbed/midi.cpp
index 0ec2678d47..499c44e50a 100644
--- a/engines/testbed/midi.cpp
+++ b/engines/testbed/midi.cpp
@@ -24,6 +24,7 @@
#include "common/archive.h"
#include "common/events.h"
+#include "common/memstream.h"
#include "graphics/cursorman.h"
@@ -34,7 +35,7 @@
namespace Testbed {
-bool MidiTests::loadMusicInMemory(Common::MemoryWriteStreamDynamic *ws) {
+bool MidiTests::loadMusicInMemory(Common::WriteStream *ws) {
Common::SeekableReadStream *midiFile = SearchMan.createReadStreamForMember("music.mid");
if (!midiFile) {
Testsuite::logPrintf("Error! Can't open Midi music file, check game data directory for file music.mid\n");