aboutsummaryrefslogtreecommitdiff
path: root/scumm/insane
diff options
context:
space:
mode:
authorMax Horn2004-07-26 23:15:01 +0000
committerMax Horn2004-07-26 23:15:01 +0000
commit908723cc84b78fac6320e1613069e2a9139f2722 (patch)
treea26eea73870f40e093f88718fb9730d9c682bef9 /scumm/insane
parent1db27f0203198137118241c944ba408ca98d6bc6 (diff)
downloadscummvm-rg350-908723cc84b78fac6320e1613069e2a9139f2722.tar.gz
scummvm-rg350-908723cc84b78fac6320e1613069e2a9139f2722.tar.bz2
scummvm-rg350-908723cc84b78fac6320e1613069e2a9139f2722.zip
Load SMUSH files and NUT fonts from mac container files, too (done that by adding a new high level method openFile to class ScummEngine)
svn-id: r14346
Diffstat (limited to 'scumm/insane')
-rw-r--r--scumm/insane/insane.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/insane/insane.cpp b/scumm/insane/insane.cpp
index a93cdc5a62..6efa9229c6 100644
--- a/scumm/insane/insane.cpp
+++ b/scumm/insane/insane.cpp
@@ -586,11 +586,11 @@ int32 Insane::processKeyboard(void) {
}
void Insane::readFileToMem(const char *name, byte **buf) {
- File *in;
+ ScummFile *in;
uint32 len;
- in = new File();
- in->open(name);
+ in = new ScummFile();
+ _vm->openFile(*in, name);
len = in->size();
*buf = (byte *)malloc(len);
in->read(*buf, len);