diff options
author | Jonathan Gray | 2003-04-21 00:44:46 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-04-21 00:44:46 +0000 |
commit | 5cc5af052f4cfb76e7e93007da7d07e261164aa0 (patch) | |
tree | dbc4af6939842b5ca44a8c8e67c963fda876183f /scumm/script_v6.cpp | |
parent | 7037ed3102a418e358eb625be77a9f12acac388e (diff) | |
download | scummvm-rg350-5cc5af052f4cfb76e7e93007da7d07e261164aa0.tar.gz scummvm-rg350-5cc5af052f4cfb76e7e93007da7d07e261164aa0.tar.bz2 scummvm-rg350-5cc5af052f4cfb76e7e93007da7d07e261164aa0.zip |
add readFile stub
svn-id: r7048
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 49b9f9abb1..ceab5368d8 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -315,7 +315,7 @@ void Scumm_v6::setupOpcodes() { OPCODE(o6_isRoomScriptRunning), OPCODE(o6_closeFile), OPCODE(o6_openFile), - OPCODE(o6_invalid), + OPCODE(o6_readFile), /* DC */ OPCODE(o6_invalid), OPCODE(o6_findAllObjects), @@ -2829,6 +2829,10 @@ void Scumm_v6::o6_deleteFile() { _scriptPointer += len + 1; } +void Scumm_v6::o6_readFile() { + error("stub o6_readFile(%d, %d)", pop(), pop()); +} + void Scumm_v6::o6_findAllObjects() { // FIXME is this even remotely correct? // see http://users.bigpond.net.au/tgray2/findallobjects.txt |