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.
This commit is contained in:
parent
8522ef0f4f
commit
d2758e913a
1 changed files with 8 additions and 0 deletions
|
@ -1577,6 +1577,14 @@ void ScummEngine::setupScumm(const Common::String &macResourceFile) {
|
||||||
_bootParam = -7873;
|
_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) {
|
if (!_copyProtection && _game.id == GID_SAMNMAX && _bootParam == 0) {
|
||||||
_bootParam = -1;
|
_bootParam = -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue