diff options
Diffstat (limited to 'scumm/insane')
-rw-r--r-- | scumm/insane/insane.cpp | 6 |
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); |