From 80eb248a0eb22f6ba8e052047e8af3c3bf948087 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 13 Feb 2007 15:27:36 +0000 Subject: Get rid of _opt. Cleanup. svn-id: r25549 --- engines/agi/graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/agi/graphics.cpp') 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) -- cgit v1.2.3