diff options
author | Eugene Sandulenko | 2007-02-13 15:27:36 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-02-13 15:27:36 +0000 |
commit | 80eb248a0eb22f6ba8e052047e8af3c3bf948087 (patch) | |
tree | cb2c86c17aaf931fd9a6e8f17f4ef033e3ad59e9 /engines/agi/graphics.cpp | |
parent | 433e7d69ac155c03ded74de11b4f1db4dbfc2a2f (diff) | |
download | scummvm-rg350-80eb248a0eb22f6ba8e052047e8af3c3bf948087.tar.gz scummvm-rg350-80eb248a0eb22f6ba8e052047e8af3c3bf948087.tar.bz2 scummvm-rg350-80eb248a0eb22f6ba8e052047e8af3c3bf948087.zip |
Get rid of _opt. Cleanup.
svn-id: r25549
Diffstat (limited to 'engines/agi/graphics.cpp')
-rw-r--r-- | engines/agi/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp index 9ca53b3a74..ca2c13c2bf 100644 --- a/engines/agi/graphics.cpp +++ b/engines/agi/graphics.cpp @@ -407,7 +407,7 @@ static const byte mouseCursorArrow[] = { * @see deinit_video() */ int GfxMgr::initVideo() { - if (_vm->_opt.renderMode == Common::kRenderEGA) + if (_vm->_renderMode == Common::kRenderEGA) initPalette(egaPalette); else initPalette(newPalette); @@ -481,7 +481,7 @@ int GfxMgr::deinitMachine() { * @param p pointer to the row start in the AGI screen */ void GfxMgr::putPixelsA(int x, int y, int n, uint8 *p) { - if (_vm->_opt.renderMode == Common::kRenderCGA) { + if (_vm->_renderMode == Common::kRenderCGA) { for (x *= 2; n--; p++, x += 2) { register uint16 q = (cgaMap[(*p & 0xf0) >> 4] << 4) | cgaMap[*p & 0x0f]; if (_vm->_debug.priority) |