diff options
author | Filippos Karapetis | 2010-08-20 09:35:20 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-08-20 09:35:20 +0000 |
commit | 31c889d7ce26c0386b39ee8664d05e87c53b8381 (patch) | |
tree | a569d0bcb820118240cfa906fd9dab9e2bcb7717 /engines/sci/engine | |
parent | 588472a8e69e2ecc98e3bf03c62bff029e715b81 (diff) | |
download | scummvm-rg350-31c889d7ce26c0386b39ee8664d05e87c53b8381.tar.gz scummvm-rg350-31c889d7ce26c0386b39ee8664d05e87c53b8381.tar.bz2 scummvm-rg350-31c889d7ce26c0386b39ee8664d05e87c53b8381.zip |
SCI: Fixed the GM detection introduced in rev #52211 to check the first available track, instead of track 1 (which doesn't always exist, e.g. in Pharkas). Also, added a comment inside applyPatch()
svn-id: r52222
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/script_patches.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp index 6f97b3b69b..60d3369fb6 100644 --- a/engines/sci/engine/script_patches.cpp +++ b/engines/sci/engine/script_patches.cpp @@ -542,6 +542,7 @@ void Script::applyPatch(const uint16 *patch, byte *scriptData, const uint32 scri offset += patchWord & ~PATCH_ADDTOOFFSET; } else if (patchWord & PATCH_GETORIGINALBYTE) { // TODO: implement this + // Can be used to patch in some bytes from the original script into another location } else { scriptData[offset] = patchWord & 0xFF; offset++; |