diff options
Diffstat (limited to 'engines/startrek/font.cpp')
-rw-r--r-- | engines/startrek/font.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/startrek/font.cpp b/engines/startrek/font.cpp index f9802348ed..a5f12a5b27 100644 --- a/engines/startrek/font.cpp +++ b/engines/startrek/font.cpp @@ -20,6 +20,9 @@ * */ +#include "common/stream.h" +#include "common/memstream.h" + #include "startrek/font.h" namespace StarTrek { @@ -28,7 +31,7 @@ static const byte CHARACTER_COUNT = 0x80; static const byte CHARACTER_SIZE = 0x40; Font::Font(StarTrekEngine *vm) : _vm(vm) { - SharedPtr<FileStream> fontStream = _vm->loadFile("FONT.FNT"); + FileStream fontStream = _vm->loadFile("FONT.FNT"); _characters = new Character[CHARACTER_COUNT]; |