diff options
author | Johannes Schickel | 2009-08-16 06:33:34 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-08-16 06:33:34 +0000 |
commit | 871f832fe1f7213a31e80d8667ce37c9ce823aeb (patch) | |
tree | e541b848a0786515188a43796d9a647e58809379 | |
parent | a9ac38ea23ac3892b5f2eff171efd2f483f57f75 (diff) | |
download | scummvm-rg350-871f832fe1f7213a31e80d8667ce37c9ce823aeb.tar.gz scummvm-rg350-871f832fe1f7213a31e80d8667ce37c9ce823aeb.tar.bz2 scummvm-rg350-871f832fe1f7213a31e80d8667ce37c9ce823aeb.zip |
Fix valgrind warnings.
svn-id: r43428
-rw-r--r-- | engines/kyra/kyra_hof.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/screen.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp index bf515498dc..d4d4ba29ea 100644 --- a/engines/kyra/kyra_hof.cpp +++ b/engines/kyra/kyra_hof.cpp @@ -247,6 +247,8 @@ Common::Error KyraEngine_HoF::init() { } _screen->loadFont(_screen->FID_GOLDFONT_FNT, "GOLDFONT.FNT"); + _screen->setFont(_screen->FID_8_FNT); + _screen->setAnimBlockPtr(3504); _screen->setScreenDim(0); diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index 52035a49f4..73a3e675e8 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -49,6 +49,8 @@ Screen::Screen(KyraEngine_v1 *vm, OSystem *system) _sjisFont = 0; memset(_fonts, 0, sizeof(_fonts)); + + _currentFont = FID_8_FNT; } Screen::~Screen() { |