diff options
| author | Travis Howell | 2005-10-19 09:43:13 +0000 |
|---|---|---|
| committer | Travis Howell | 2005-10-19 09:43:13 +0000 |
| commit | d91fc4c2267f3b02bbea1baf7b351a20768a2605 (patch) | |
| tree | e5cf85e2a70bf0c0d325801cad451ce0c51bd05e /scumm/script_v72he.cpp | |
| parent | a5e95b89c6a2aecca5dc78b637046e2c4838a20c (diff) | |
| download | scummvm-rg350-d91fc4c2267f3b02bbea1baf7b351a20768a2605.tar.gz scummvm-rg350-d91fc4c2267f3b02bbea1baf7b351a20768a2605.tar.bz2 scummvm-rg350-d91fc4c2267f3b02bbea1baf7b351a20768a2605.zip | |
Add missing opcode in HE100 table.
Rename opcode.
svn-id: r19174
Diffstat (limited to 'scumm/script_v72he.cpp')
| -rw-r--r-- | scumm/script_v72he.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 9a393d3eaa..e7e42d63f4 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -156,7 +156,7 @@ void ScummEngine_v72he::setupOpcodes() { /* 58 */ OPCODE(o72_getTimer), OPCODE(o72_setTimer), - OPCODE(o72_getSoundElapsedTime), + OPCODE(o72_getSoundPosition), OPCODE(o6_wordArrayDec), /* 5C */ OPCODE(o6_if), @@ -886,10 +886,10 @@ void ScummEngine_v72he::o72_setTimer() { } } -void ScummEngine_v72he::o72_getSoundElapsedTime() { +void ScummEngine_v72he::o72_getSoundPosition() { int snd = pop(); push(_sound->getSoundElapsedTime(snd) * 10); - debug(1,"o72_getSoundElapsedTime (%d)", snd); + debug(1,"o72_getSoundPosition (%d)", snd); } void ScummEngine_v72he::o72_startScript() { |
