aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMax Horn2009-05-11 18:18:43 +0000
committerMax Horn2009-05-11 18:18:43 +0000
commitd09037fa6cc19e8f1bd3dac5b14369a8811726e8 (patch)
treef81a24b6915386b9d7d9b9260a09fc2081010c4f /engines/sci/engine
parent548180663546d6ce2d29436fe2d54d8fe2170a18 (diff)
downloadscummvm-rg350-d09037fa6cc19e8f1bd3dac5b14369a8811726e8.tar.gz
scummvm-rg350-d09037fa6cc19e8f1bd3dac5b14369a8811726e8.tar.bz2
scummvm-rg350-d09037fa6cc19e8f1bd3dac5b14369a8811726e8.zip
SCI: Hacked stuff up so that debugger commands also print on the GUI console
svn-id: r40460
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/said.cpp1
-rw-r--r--engines/sci/engine/said.y1
-rw-r--r--engines/sci/engine/scriptconsole.cpp3
3 files changed, 0 insertions, 5 deletions
diff --git a/engines/sci/engine/said.cpp b/engines/sci/engine/said.cpp
index 7ed7999baa..f261454b55 100644
--- a/engines/sci/engine/said.cpp
+++ b/engines/sci/engine/said.cpp
@@ -2472,7 +2472,6 @@ int said(EngineState *s, byte *spec, int verbose) {
int main (int argc, char *argv) {
byte block[] = {0x01, 0x00, 0xf8, 0xf5, 0x02, 0x01, 0xf6, 0xf2, 0x02, 0x01, 0xf2, 0x01, 0x03, 0xff};
EngineState s;
- con_passthrough = true;
s.parser_valid = 1;
said(&s, block);
diff --git a/engines/sci/engine/said.y b/engines/sci/engine/said.y
index 408d3971d1..6924da16e0 100644
--- a/engines/sci/engine/said.y
+++ b/engines/sci/engine/said.y
@@ -828,7 +828,6 @@ int said(EngineState *s, byte *spec, int verbose) {
int main (int argc, char *argv) {
byte block[] = {0x01, 0x00, 0xf8, 0xf5, 0x02, 0x01, 0xf6, 0xf2, 0x02, 0x01, 0xf2, 0x01, 0x03, 0xff};
EngineState s;
- con_passthrough = true;
s.parser_valid = 1;
said(&s, block);
diff --git a/engines/sci/engine/scriptconsole.cpp b/engines/sci/engine/scriptconsole.cpp
index 80993ae4db..5b37671eb9 100644
--- a/engines/sci/engine/scriptconsole.cpp
+++ b/engines/sci/engine/scriptconsole.cpp
@@ -30,7 +30,6 @@
#include "sci/engine/state.h"
#include "sci/scicore/sciconsole.h"
-
#include "sci/sci.h" // For _console only
#include "sci/console.h" // For _console only
@@ -201,8 +200,6 @@ void con_init() {
" a list of addresses and indices is provided.\n"
" ?obj.idx may be used to disambiguate 'obj'\n"
" by the index 'idx'.\n");
-
- con_hook_int(&con_passthrough, "con_passthrough", "scicon->stdout passthrough");
}
}