diff options
author | Travis Howell | 2004-10-18 05:10:15 +0000 |
---|---|---|
committer | Travis Howell | 2004-10-18 05:10:15 +0000 |
commit | 6ad08cd944fec6685f7d82f082437e2de87a8871 (patch) | |
tree | 233ffc7fc750effcee6a3f18b384837d3f6c3191 /scumm | |
parent | f49f6b047d6dead7658fbacdc07826565278e2c1 (diff) | |
download | scummvm-rg350-6ad08cd944fec6685f7d82f082437e2de87a8871.tar.gz scummvm-rg350-6ad08cd944fec6685f7d82f082437e2de87a8871.tar.bz2 scummvm-rg350-6ad08cd944fec6685f7d82f082437e2de87a8871.zip |
Cleanup
svn-id: r15601
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v72he.cpp | 9 | ||||
-rw-r--r-- | scumm/script_v7he.cpp | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 781df21ce7..4d713da78a 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -2371,11 +2371,12 @@ void ScummEngine_v72he::o72_unknownEC() { void ScummEngine_v72he::o72_unknownEF() { int dst, size; - int b = pop(); - int a = pop(); + + int len = pop(); + int srcOffs = pop(); int src = pop(); - size = b - a + 2; + size = len - srcOffs + 2; writeVar(0, 0); defineArray(0, kStringArray, 0, 0, 0, size); @@ -2383,7 +2384,7 @@ void ScummEngine_v72he::o72_unknownEF() { dst = readVar(0); - arrrays_unk2(dst, src, a, b); + arrrays_unk2(dst, src, srcOffs, len); push(dst); debug(1,"stub o72_unknownEF"); diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp index 9e12984ce8..a3dbc683f9 100644 --- a/scumm/script_v7he.cpp +++ b/scumm/script_v7he.cpp @@ -815,11 +815,12 @@ void ScummEngine_v70he::o70_stringLen() { void ScummEngine_v70he::o70_unknownEF() { int dst, size; - int b = pop(); - int a = pop(); + + int len = pop(); + int srcOffs = pop(); int src = pop(); - size = b - a + 2; + size = len - srcOffs + 2; writeVar(0, 0); defineArray(0, kStringArray, 0, size); @@ -827,7 +828,7 @@ void ScummEngine_v70he::o70_unknownEF() { dst = readVar(0); - arrrays_unk2(dst, src, a, b); + arrrays_unk2(dst, src, srcOffs, len); push(dst); debug(1,"stub o70_unknownEF"); |