diff options
author | Max Horn | 2009-05-11 13:31:37 +0000 |
---|---|---|
committer | Max Horn | 2009-05-11 13:31:37 +0000 |
commit | d66d1ffab302c6146d0262c873287347c9f69267 (patch) | |
tree | de9deaf8b2371dfe6f6fd071e43998ed4c85c4a5 /engines/sci/sci.cpp | |
parent | 7c75e8e2ef9268bdd69810a59dc6062f0dff376f (diff) | |
download | scummvm-rg350-d66d1ffab302c6146d0262c873287347c9f69267.tar.gz scummvm-rg350-d66d1ffab302c6146d0262c873287347c9f69267.tar.bz2 scummvm-rg350-d66d1ffab302c6146d0262c873287347c9f69267.zip |
SCI: Replace global vars cmd_paramlength & cmd_params by Common::Array<cmd_param_t> param to console hook commands
svn-id: r40452
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r-- | engines/sci/sci.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 9c799f7fd7..855803c889 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -43,7 +43,7 @@ namespace Sci { extern gfx_driver_t gfx_driver_scummvm; -int c_quit(EngineState *s) { +int c_quit(EngineState *s, const Common::Array<cmd_param_t> &cmdParams) { script_abort_flag = 1; // Terminate VM _debugstate_valid = 0; _debug_seeking = 0; @@ -51,7 +51,7 @@ int c_quit(EngineState *s) { return 0; } -int c_die(EngineState *s) { +int c_die(EngineState *s, const Common::Array<cmd_param_t> &cmdParams) { exit(0); // return 0; } |