diff options
author | Max Horn | 2002-12-23 18:56:43 +0000 |
---|---|---|
committer | Max Horn | 2002-12-23 18:56:43 +0000 |
commit | 897fc9a91b48c2533ad2121415528a4ee802b653 (patch) | |
tree | 1490bdd7ae9562e083ed1037a895e37e5a2a9ff7 /scumm/script_v6.cpp | |
parent | 6f5a18228dd9024ee13645710222abdebcc61325 (diff) | |
download | scummvm-rg350-897fc9a91b48c2533ad2121415528a4ee802b653.tar.gz scummvm-rg350-897fc9a91b48c2533ad2121415528a4ee802b653.tar.bz2 scummvm-rg350-897fc9a91b48c2533ad2121415528a4ee802b653.zip |
and more V8. Now we again hit the charset limit, but this time caused by the script itself :-)
svn-id: r6077
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 60e05252e4..6cd1f16df1 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -1924,6 +1924,17 @@ void Scumm_v6::o6_getVerbEntrypoint() push(getVerbEntrypoint(v, e)); } +void Scumm::arrayop_1(int a, byte *ptr) +{ + ArrayHeader *ah; + int r; + int len = getStringLen(ptr); + + r = defineArray(a, 4, 0, len); + ah = (ArrayHeader *)getResourceAddress(rtString, r); + copyString(ah->data, ptr, len); +} + void Scumm_v6::o6_arrayOps() { int a, b, c, d, num; |