diff options
Diffstat (limited to 'engines/titanic/true_talk/title_engine.cpp')
-rw-r--r-- | engines/titanic/true_talk/title_engine.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/title_engine.cpp b/engines/titanic/true_talk/title_engine.cpp index 24cc4216ee..d4462c5bcd 100644 --- a/engines/titanic/true_talk/title_engine.cpp +++ b/engines/titanic/true_talk/title_engine.cpp @@ -40,6 +40,7 @@ void CTitleEngine::setup(int val1, int val2) { /*------------------------------------------------------------------------*/ STtitleEngine::STtitleEngine(): CTitleEngine(), _field58(0) { + _resources.loadFromEXE("ST.exe"); } STtitleEngine::~STtitleEngine() { @@ -66,8 +67,9 @@ void STtitleEngine::dump(int val1, int val2) { SimpleFile *STtitleEngine::open(const CString &name) { Common::SeekableReadStream *stream = _resources.getResource( - Common::WinResourceID("Text"), name); - + Common::WinResourceID("TEXT"), name); + assert(stream); + SimpleFile *file = new SimpleFile(); file->open(stream); return file; |