[Scummvm-cvs-logs] SF.net SVN: scummvm:[43429] scummvm/branches/branch-1-0-0/engines/kyra
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun Aug 16 08:35:32 CEST 2009
Revision: 43429
http://scummvm.svn.sourceforge.net/scummvm/?rev=43429&view=rev
Author: lordhoto
Date: 2009-08-16 06:35:32 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
Backport of r43428: "Fix valgrind warnings."
Modified Paths:
--------------
scummvm/branches/branch-1-0-0/engines/kyra/kyra_hof.cpp
scummvm/branches/branch-1-0-0/engines/kyra/screen.cpp
Modified: scummvm/branches/branch-1-0-0/engines/kyra/kyra_hof.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/kyra/kyra_hof.cpp 2009-08-16 06:33:34 UTC (rev 43428)
+++ scummvm/branches/branch-1-0-0/engines/kyra/kyra_hof.cpp 2009-08-16 06:35:32 UTC (rev 43429)
@@ -247,6 +247,8 @@
}
_screen->loadFont(_screen->FID_GOLDFONT_FNT, "GOLDFONT.FNT");
+ _screen->setFont(_screen->FID_8_FNT);
+
_screen->setAnimBlockPtr(3504);
_screen->setScreenDim(0);
Modified: scummvm/branches/branch-1-0-0/engines/kyra/screen.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/kyra/screen.cpp 2009-08-16 06:33:34 UTC (rev 43428)
+++ scummvm/branches/branch-1-0-0/engines/kyra/screen.cpp 2009-08-16 06:35:32 UTC (rev 43429)
@@ -48,6 +48,7 @@
_drawShapeVar5 = 0;
_sjisFont = 0;
+ _currentFont = FID_8_FNT;
}
Screen::~Screen() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list