aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/files.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hopkins/files.cpp')
-rw-r--r--engines/hopkins/files.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/hopkins/files.cpp b/engines/hopkins/files.cpp
index 4e8eb0d80f..f84b597c9a 100644
--- a/engines/hopkins/files.cpp
+++ b/engines/hopkins/files.cpp
@@ -125,6 +125,15 @@ void FileManager::DMESS1() {
// No implementation in original
}
+void FileManager::bload(const Common::String &file, byte *buf) {
+ Common::File f;
+ if (!f.open(file))
+ error("Error openinig file - %s", file.c_str());
+ int32 filesize = f.size();
+ FileManager::bload_it(f, buf, filesize);
+ f.close();
+}
+
int FileManager::bload_it(Common::ReadStream &stream, void *buf, size_t nbytes) {
return stream.read(buf, nbytes);
}
@@ -325,4 +334,8 @@ uint32 FileManager::FLONG(const Common::String &filename) {
return size;
}
+void FileManager::CONSTRUIT_LINUX(const Common::String &file) {
+ warning("TODO: CONSTRUIT_LINUX");
+}
+
} // End of namespace Hopkins