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/id.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'engines/agi/id.cpp') diff --git a/engines/agi/id.cpp b/engines/agi/id.cpp index 2bcaf4e2d5..1dc1a6a004 100644 --- a/engines/agi/id.cpp +++ b/engines/agi/id.cpp @@ -70,15 +70,9 @@ int AgiEngine::setupV2Game(int ver, uint32 crc) { agiSetRelease(ver = 0x2917); } - /* setup the differences in the opcodes and other bits in the - * AGI v2 specs - */ - if (_opt.emuversion) - agiSetRelease(ver = _opt.emuversion); - // Should this go above the previous lines, so we can force emulation versions // even for AGDS games? -- dsymonds - if (_opt.agdsMode) + if (getFeatures() & GF_AGDS) agiSetRelease(ver = 0x2440); /* ALL AGDS games built for 2.440 */ report("Seting up for version 0x%04X\n", ver); @@ -109,9 +103,6 @@ int AgiEngine::setupV3Game(int ver, uint32 crc) { agiSetRelease(ver = 0x3149); } - if (_opt.emuversion) - agiSetRelease(ver = _opt.emuversion); - report("Seting up for version 0x%04X\n", ver); // 'unknown176' takes 1 arg for 3.002.086, not 0 args. -- cgit v1.2.3