diff options
author | Filippos Karapetis | 2011-09-22 04:17:01 +0300 |
---|---|---|
committer | Filippos Karapetis | 2011-09-22 04:18:13 +0300 |
commit | b807041ad2527a355be6c1eb56e659e6daac0cb7 (patch) | |
tree | 74e0a75898864dce8ae89f54584aa2d99f927691 /engines/kyra/resource.cpp | |
parent | 7f675de8554b30e7b14af87a9cbb2e51d66fde5b (diff) | |
download | scummvm-rg350-b807041ad2527a355be6c1eb56e659e6daac0cb7.tar.gz scummvm-rg350-b807041ad2527a355be6c1eb56e659e6daac0cb7.tar.bz2 scummvm-rg350-b807041ad2527a355be6c1eb56e659e6daac0cb7.zip |
SCI: Ignore invalid pointers if the kernel function signature specifies it
SCI scripts can send stale pointers to kernel functions (e.g. after
loading a saved game). This is normal in some cases (such as kDisplay
and kGraphRestoreBox), and their signatures are set to allow invalid
pointers.
Thus, in such cases, allow invalid pointers, as the kernel functions
will handle them themselves. Fixes bug #3412002, and properly fixes bugs
#3389579, #3292251, #3308087 and #3056811. Removed a relevant TODO.
Diffstat (limited to 'engines/kyra/resource.cpp')
0 files changed, 0 insertions, 0 deletions