aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/id.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2007-02-13 15:27:36 +0000
committerEugene Sandulenko2007-02-13 15:27:36 +0000
commit80eb248a0eb22f6ba8e052047e8af3c3bf948087 (patch)
treecb2c86c17aaf931fd9a6e8f17f4ef033e3ad59e9 /engines/agi/id.cpp
parent433e7d69ac155c03ded74de11b4f1db4dbfc2a2f (diff)
downloadscummvm-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/id.cpp')
-rw-r--r--engines/agi/id.cpp11
1 files changed, 1 insertions, 10 deletions
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.