diff options
author | Filippos Karapetis | 2010-06-18 17:34:34 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-18 17:34:34 +0000 |
commit | 6f7f6572c4ded607d5f479c699d035cb2c8ebabb (patch) | |
tree | 9e739a4d4a99c8289d75d91a4d07a54fb09a72a5 /engines/sci/engine/kgraphics.cpp | |
parent | 8a8480c0caa2848522cf18ec870343677c6af44f (diff) | |
download | scummvm-rg350-6f7f6572c4ded607d5f479c699d035cb2c8ebabb.tar.gz scummvm-rg350-6f7f6572c4ded607d5f479c699d035cb2c8ebabb.tar.bz2 scummvm-rg350-6f7f6572c4ded607d5f479c699d035cb2c8ebabb.zip |
Fixed invalid memory read in LSL6 hires - kRobot(1) returns an integer
svn-id: r50024
Diffstat (limited to 'engines/sci/engine/kgraphics.cpp')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 4614ee878a..6e0dab7e28 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -1265,6 +1265,9 @@ reg_t kRobot(EngineState *s, int argc, reg_t *argv) { warning("kRobot(init), id %d, obj %04x:%04x, flag %d, x=%d, y=%d", id, PRINT_REG(obj), flag, x, y); } break; + case 1: // LSL6 hires (startup) + // TODO + return NULL_REG; // an integer is expected case 4: { // start int id = argv[1].toUint16(); warning("kRobot(start), id %d", id); |