aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-06-02 14:16:59 +0000
committerFilippos Karapetis2009-06-02 14:16:59 +0000
commit98f64cfa2f76a5faa1cdea5c47e175aea2e75940 (patch)
tree76ba60fd185c638b4360b9efe1698213c69df232 /engines/sci/console.cpp
parentc1d01223aa7283e18d42ee0b2680b6b3bc0afe8f (diff)
downloadscummvm-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.cpp4
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