diff options
author | Colin Snover | 2017-10-06 17:01:44 -0500 |
---|---|---|
committer | Colin Snover | 2017-10-06 22:56:25 -0500 |
commit | 8c9276e75a9097f6eb2856767f9e6a40eab3c5aa (patch) | |
tree | 4ea863f4afd410cc2a52eaeaf5d91883e364cedd /engines | |
parent | ce13b1699aa95743573b07064ee27457d0b52968 (diff) | |
download | scummvm-rg350-8c9276e75a9097f6eb2856767f9e6a40eab3c5aa.tar.gz scummvm-rg350-8c9276e75a9097f6eb2856767f9e6a40eab3c5aa.tar.bz2 scummvm-rg350-8c9276e75a9097f6eb2856767f9e6a40eab3c5aa.zip |
SCI32: Clean up script patch comments
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/script_patches.cpp | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp index 162d97e15b..3e37d134ee 100644 --- a/engines/sci/engine/script_patches.cpp +++ b/engines/sci/engine/script_patches.cpp @@ -2289,10 +2289,10 @@ static const uint16 lighthouseFlagResetPatch[] = { }; // When doing a system check on the portal computer in the lighthouse, the game -// counts up to 1024MB, one megabyte at a time. In the original engine, this -// count speed would be video speed dependent, but with our frame rate -// throttler, it takes 17 seconds. So, replace this slowness with a much faster -// POST that is more accurate to the original game. +// counts up to 1024MB, one megabyte at a time. In SSCI, this count speed would +// be video speed dependent, but with our frame rate throttler, it takes 17 +// seconds. So, replace this slowness with a much faster POST that is more +// accurate to the original game. // Applies to at least: US English 1.0c static const uint16 lighthouseMemoryCountSignature[] = { SIG_MAGICDWORD, @@ -6411,13 +6411,12 @@ static const uint16 ramaBenchmarkPatch[] = { }; // RAMA uses a custom save game format that game scripts read and write -// manually. The save game format serialises object references, which in the -// original engine could be done just by writing int16s (since object references -// were just 16-bit indexes), but in ScummVM we have to write the full 32-bit -// reg_t. We hijack kFileIOReadWord/kFileIOWriteWord to do this for us, but we -// need the game to agree to use those kFileIO calls instead of doing raw reads -// and creating its own numbers, as it tries to do here in -// `SaveManager::readWord`. +// manually. The save game format serialises object references, which SSCI could +// be done just by writing int16s (since object references were just 16-bit +// indexes), but in ScummVM we have to write the full 32-bit reg_t. We hijack +// kFileIOReadWord/kFileIOWriteWord to do this for us, but we need the game to +// agree to use those kFileIO calls instead of doing raw reads and creating its +// own numbers, as it tries to do here in `SaveManager::readWord`. static const uint16 ramaSerializeRegTSignature1[] = { SIG_MAGICDWORD, 0x38, SIG_SELECTOR16(newWith), // pushi $10b (newWith) |