aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hopkins')
-rw-r--r--engines/hopkins/files.cpp3
-rw-r--r--engines/hopkins/files.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/hopkins/files.cpp b/engines/hopkins/files.cpp
index e061b9c2d4..279ca4c0d3 100644
--- a/engines/hopkins/files.cpp
+++ b/engines/hopkins/files.cpp
@@ -118,9 +118,8 @@ void FileManager::constructFilename(const Common::String &folder, const Common::
/**
* Construct Linux filename
*/
-Common::String FileManager::constructLinuxFilename(const Common::String &file) {
+void FileManager::constructLinuxFilename(const Common::String &file) {
_vm->_globals._curFilename = file;
- return file;
}
/**
diff --git a/engines/hopkins/files.h b/engines/hopkins/files.h
index 427d61e183..b2001e2a0c 100644
--- a/engines/hopkins/files.h
+++ b/engines/hopkins/files.h
@@ -46,7 +46,7 @@ public:
void constructFilename(const Common::String &folder, const Common::String &file);
byte *searchCat(const Common::String &file, int a2);
- Common::String constructLinuxFilename(const Common::String &file);
+ void constructLinuxFilename(const Common::String &file);
uint32 fileSize(const Common::String &filename);
};