aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Augereau2011-11-18 07:23:21 +0100
committerBertrand Augereau2011-11-18 07:23:21 +0100
commit8651e0f0d06ad6a687e09eea4b93007bde33064e (patch)
tree10f6a2728d80428ba515672620beb10fd0d49a44
parent32b47501a264f3dadd99ef58f435dccd9946150c (diff)
downloadscummvm-rg350-8651e0f0d06ad6a687e09eea4b93007bde33064e.tar.gz
scummvm-rg350-8651e0f0d06ad6a687e09eea4b93007bde33064e.tar.bz2
scummvm-rg350-8651e0f0d06ad6a687e09eea4b93007bde33064e.zip
DREAMWEB: C++ hardcoding of an asm hardcoded file name
-rw-r--r--engines/dreamweb/stubs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 44a85526e7..b01d16f916 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -2155,8 +2155,7 @@ void DreamGenContext::readsetdata() {
data.word(kCurrentset) = ax;
if (data.byte(kSoundint) == 0xff)
return;
- Common::String name((const char*)cs.ptr(kVolumetabname, 0));
- engine->openFile(name);
+ engine->openFile("DREAMWEB.VOL");
uint8 *volumeTab = segRef(data.word(kSoundbuffer)).ptr(16384, 0);
engine->readFromFile(volumeTab, 2048-256);
engine->closeFile();