diff options
| author | Filippos Karapetis | 2009-06-02 14:16:59 +0000 |
|---|---|---|
| committer | Filippos Karapetis | 2009-06-02 14:16:59 +0000 |
| commit | 98f64cfa2f76a5faa1cdea5c47e175aea2e75940 (patch) | |
| tree | 76ba60fd185c638b4360b9efe1698213c69df232 /engines/sci/console.cpp | |
| parent | c1d01223aa7283e18d42ee0b2680b6b3bc0afe8f (diff) | |
| download | scummvm-rg350-98f64cfa2f76a5faa1cdea5c47e175aea2e75940.tar.gz scummvm-rg350-98f64cfa2f76a5faa1cdea5c47e175aea2e75940.tar.bz2 scummvm-rg350-98f64cfa2f76a5faa1cdea5c47e175aea2e75940.zip | |
Removed the gfxw_new_visual and gfxw_new_port wrappers, moved _kfuncTable inside the Kernel class and moved gfxw_find_port inside the GfxVisual struct
svn-id: r41125
Diffstat (limited to 'engines/sci/console.cpp')
| -rw-r--r-- | engines/sci/console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index 56605e1d17..cd06d63848 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -34,7 +34,7 @@ #include "sci/engine/gc.h" #include "sci/gfx/gfx_gui.h" // for sciw_set_status_bar #include "sci/gfx/gfx_state_internal.h" -#include "sci/gfx/gfx_widgets.h" // for gfxw_find_port +#include "sci/gfx/gfx_widgets.h" // for getPort #include "sci/sfx/songlib.h" // for songlib_t #include "sci/vocabulary.h" @@ -647,7 +647,7 @@ bool Console::cmdPrintPort(int argc, const char **argv) { if (!g_EngineState->visual) { DebugPrintf("Visual is uninitialized\n"); } else { - port = gfxw_find_port(g_EngineState->visual, atoi(argv[1])); + port = g_EngineState->visual->getPort(atoi(argv[1])); if (!port) DebugPrintf("No such port\n"); else |
