diff options
author | Filippos Karapetis | 2019-06-10 01:16:48 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-06-11 00:48:15 +0300 |
commit | 3f7f1a24108b1333908e82fd01455ea4f863afd3 (patch) | |
tree | e8bc7506632e942dacb29b18afbaa1a9705bdb60 /engines/startrek/font.cpp | |
parent | 9ba6b79e1a0bd48fe69879a145c63296e631cf5f (diff) | |
download | scummvm-rg350-3f7f1a24108b1333908e82fd01455ea4f863afd3.tar.gz scummvm-rg350-3f7f1a24108b1333908e82fd01455ea4f863afd3.tar.bz2 scummvm-rg350-3f7f1a24108b1333908e82fd01455ea4f863afd3.zip |
STARTREK: Remove the FileStream wrapper class
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]; |