aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/scriptdebug.cpp
diff options
context:
space:
mode:
authorMax Horn2009-03-04 05:19:19 +0000
committerMax Horn2009-03-04 05:19:19 +0000
commit302a99a2c0223bceb3a1f553f1b4ec0bf4b13fea (patch)
treeabbf172d4eac22d9090c4021b5e9310d6f902d7f /engines/sci/engine/scriptdebug.cpp
parent57e0d1611268efc5f4dda8fd02fb4dfe11b0eb5b (diff)
downloadscummvm-rg350-302a99a2c0223bceb3a1f553f1b4ec0bf4b13fea.tar.gz
scummvm-rg350-302a99a2c0223bceb3a1f553f1b4ec0bf4b13fea.tar.bz2
scummvm-rg350-302a99a2c0223bceb3a1f553f1b4ec0bf4b13fea.zip
SCI: cleanup
svn-id: r39106
Diffstat (limited to 'engines/sci/engine/scriptdebug.cpp')
-rw-r--r--engines/sci/engine/scriptdebug.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp
index 34d628d44f..71ed439c07 100644
--- a/engines/sci/engine/scriptdebug.cpp
+++ b/engines/sci/engine/scriptdebug.cpp
@@ -3258,23 +3258,11 @@ void script_debug(EngineState *s, reg_t *pc, StackPtr *sp, StackPtr *pp, reg_t *
while (_debugstate_valid) {
int skipfirst = 0;
const char *commandstring;
-#ifdef WANT_CONSOLE
- char *input;
-#endif
// Suspend music playing
sfx_suspend(&s->sound, 1);
-#ifdef WANT_CONSOLE
- if (!have_windowed) {
- con_gfx_show(s->gfx_state);
- input = con_gfx_read(s->gfx_state);
- con_gfx_hide(s->gfx_state);
- commandstring = input;
- sciprintf("> %s\n", commandstring);
- } else
-#endif
- commandstring = _debug_get_input();
+ commandstring = _debug_get_input();
// Check if a specific destination has been given
if (commandstring && (commandstring[0] == '.' || commandstring[0] == ':'))