aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/stubs.cpp
diff options
context:
space:
mode:
authorD G Turner2011-12-05 21:38:31 +0000
committerD G Turner2011-12-05 21:38:31 +0000
commit887b5c8cdde0c32d0a7b5ed24d82e52f5dc04d92 (patch)
tree7e3abcbeee960e2e079c06bc018ce3a98539ab42 /engines/dreamweb/stubs.cpp
parent3b5794890fb36d0d93e8eff7d1a30c9bfd611618 (diff)
downloadscummvm-rg350-887b5c8cdde0c32d0a7b5ed24d82e52f5dc04d92.tar.gz
scummvm-rg350-887b5c8cdde0c32d0a7b5ed24d82e52f5dc04d92.tar.bz2
scummvm-rg350-887b5c8cdde0c32d0a7b5ed24d82e52f5dc04d92.zip
DREAMWEB: Remove unused 'openFile', merge duplicated 'getFilename'
Diffstat (limited to 'engines/dreamweb/stubs.cpp')
-rw-r--r--engines/dreamweb/stubs.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index ab28503605..5fb861c360 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -735,7 +735,7 @@ void DreamGenContext::switchRyanOff() {
data.byte(kRyanon) = 1;
}
-static Common::String getFilename(Context &context) {
+Common::String DreamGenContext::getFilename(Context &context) {
const char *name = (const char *)context.cs.ptr(context.dx, 0);
return Common::String(name);
}
@@ -865,14 +865,6 @@ void DreamGenContext::openFileFromC() {
openFileNoCheck();
}
-void DreamGenContext::openFile() {
- Common::String name = getFilename(*this);
- debug(1, "opening file: %s", name.c_str());
- engine->openFile(name);
- cs.word(kHandle) = 1; //only one handle
- flags._c = false;
-}
-
void DreamGenContext::createFile() {
::error("createfile");
}