From d2758e913a57cbedae823f367d9507810f5b22b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Mon, 12 Jul 2021 14:32:16 +0200 Subject: [PATCH] SCUMM: Use the MI2 Mac specific boot param to bypass the copy protection ScummVM already disables the copy protection by not checking that you enter the correct values, so we may as well skip it completely. --- engines/scumm/scumm.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index cb6c1de2342..34361c9613a 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -1577,6 +1577,14 @@ void ScummEngine::setupScumm(const Common::String &macResourceFile) { _bootParam = -7873; } + // This boot param does not exist in the DOS version, but skips straight + // to the difficulty selection screen in the Mac versions. (One of them + // didn't show the difficulty selection screen at all, but we patch the + // boot script to enable that.) + if (!_copyProtection && _game.id == GID_MONKEY2 && _game.platform == Common::kPlatformMacintosh && _bootParam == 0) { + _bootParam = -7873; + } + if (!_copyProtection && _game.id == GID_SAMNMAX && _bootParam == 0) { _bootParam = -1; }