diff options
author | Travis Howell | 2004-03-02 01:20:18 +0000 |
---|---|---|
committer | Travis Howell | 2004-03-02 01:20:18 +0000 |
commit | 5a3b17de54dc12e1c12eedbda882ba5f1f61382e (patch) | |
tree | 1ed253ecae9d66367baa0b8d3b9f54095b05bdb4 /scumm/script_v6he.cpp | |
parent | 4accb5b006f76ecd7bac63096939065ce1807bfb (diff) | |
download | scummvm-rg350-5a3b17de54dc12e1c12eedbda882ba5f1f61382e.tar.gz scummvm-rg350-5a3b17de54dc12e1c12eedbda882ba5f1f61382e.tar.bz2 scummvm-rg350-5a3b17de54dc12e1c12eedbda882ba5f1f61382e.zip |
Add better check for HE resource differences.
Move stringLen to HE7.
svn-id: r13130
Diffstat (limited to 'scumm/script_v6he.cpp')
-rw-r--r-- | scumm/script_v6he.cpp | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index 73d737857a..f68131ebed 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -344,7 +344,7 @@ void ScummEngine_v6he::setupOpcodes() { /* EC */ OPCODE(o6_invalid), OPCODE(o6_invalid), - OPCODE(o6_stringLen), + OPCODE(o6_invalid), OPCODE(o6_invalid), /* F0 */ OPCODE(o6_invalid), @@ -1244,24 +1244,6 @@ void ScummEngine_v6he::redimArray(int arrayId, int newX, int newY, int type) { ah->dim2 = TO_LE_16(newX + 1); } -// TODO: It's Win32 specific -void ScummEngine_v6he::o6_stringLen() { - int a, len; - - if (_features & GF_PC) { - o6_invalid(); - } - - a = pop(); - - if (_gameId == GID_FREDDEMO) { - len = strlen((char *)getStringAddress(a)); - } else { - len = 0; // TODO: implement - } - push(len); -} - void ScummEngine_v6he::o6_readINI() { int len; |