diff options
author | Martin Kiewitz | 2010-05-15 15:59:46 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-05-15 15:59:46 +0000 |
commit | ae4da9debe1d46815190470fde4ab2e0dddb0b6a (patch) | |
tree | 1768aab0ff7573f7db33251bcd412c17043daf89 /engines/sci/graphics | |
parent | 19af89a902d3b4736d61fd701857f64d6694d8b9 (diff) | |
download | scummvm-rg350-ae4da9debe1d46815190470fde4ab2e0dddb0b6a.tar.gz scummvm-rg350-ae4da9debe1d46815190470fde4ab2e0dddb0b6a.tar.bz2 scummvm-rg350-ae4da9debe1d46815190470fde4ab2e0dddb0b6a.zip |
SCI: setting port _menuPort, fixing crash on setFont()
svn-id: r49043
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/ports.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp index 7873ca2d0e..ab3291dd79 100644 --- a/engines/sci/graphics/ports.cpp +++ b/engines/sci/graphics/ports.cpp @@ -65,6 +65,7 @@ void GfxPorts::init(bool usesOldGfxFunctions, SciGui *gui, GfxPaint16 *paint16, // _menuPort has actually hardcoded id 0xFFFF. Its not meant to be known to windowmanager according to sierra sci _menuPort = new Port(0xFFFF); openPort(_menuPort); + setPort(_menuPort); _text16->SetFont(0); _menuPort->rect = Common::Rect(0, 0, _screen->getWidth(), _screen->getHeight()); _menuBarRect = Common::Rect(0, 0, _screen->getWidth(), 9); |