diff options
author | Martin Kiewitz | 2009-10-17 21:22:27 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-17 21:22:27 +0000 |
commit | b1c35d548dbe1c36df554235cfe59758135cc8bc (patch) | |
tree | 9902e4db479a71263e993f2ab96e4deb6fe51358 | |
parent | 0af29fa746c1f9e71aedcf867ff05efa85609798 (diff) | |
download | scummvm-rg350-b1c35d548dbe1c36df554235cfe59758135cc8bc.tar.gz scummvm-rg350-b1c35d548dbe1c36df554235cfe59758135cc8bc.tar.bz2 scummvm-rg350-b1c35d548dbe1c36df554235cfe59758135cc8bc.zip |
SCI: kStrAt added fixme comment
svn-id: r45203
-rw-r--r-- | engines/sci/engine/kstring.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp index de86b8472e..2681ced5da 100644 --- a/engines/sci/engine/kstring.cpp +++ b/engines/sci/engine/kstring.cpp @@ -305,6 +305,8 @@ reg_t kStrAt(EngineState *s, int argc, reg_t *argv) { newvalue = argv[2].toSint16(); if (dest_r.isRaw) { + // FIXME: in kq5 this here gets called with offset = 0xFFFF, we should implement maxSize check in here + // i dont know the exact behaviour, so i dont know how to do this correctly value = dest_r.raw[offset]; if (argc > 2) /* Request to modify this char */ dest_r.raw[offset] = newvalue; |