get rid of getStringLen and use the more powerful resStrLen instead; moved resStrLen from common/ to scumm/, where it belongs; enhanced resStrLen to suport V8; fixed translateText to support embeded vars (in strings I mean) - it may still not be fully correct but at least is better now; rewrote o6_arrayOps to parallel the V8 version - needs testing
svn-id: r6215
This commit is contained in:
parent
319facc9c3
commit
ae5b30df3d
9 changed files with 82 additions and 168 deletions
|
@ -1477,7 +1477,7 @@ void Scumm::loadPtrToResource(int type, int resindex, byte *source)
|
|||
|
||||
nukeResource(type, resindex);
|
||||
|
||||
len = getStringLen(source);
|
||||
len = resStrLen(source) + 1;
|
||||
|
||||
if (len <= 0)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue