aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r--engines/sci/console.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 6e90569ac3..4bac07f79d 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -33,7 +33,6 @@
#include "sci/engine/state.h"
#include "sci/engine/selector.h"
#include "sci/engine/savegame.h"
-#include "sci/engine/kernel_types.h" // for determine_reg_type
#include "sci/engine/gc.h"
#include "sci/engine/features.h"
#ifdef USE_OLD_MUSIC_FUNCTIONS
@@ -1835,7 +1834,7 @@ bool Console::cmdValueType(int argc, const char **argv) {
return true;
}
- int t = determine_reg_type(_engine->_gamestate->_segMan, val);
+ int t = g_sci->getKernel()->findRegType(_engine->_gamestate->_segMan, val);
switch (t) {
case KSIG_LIST:
@@ -1904,7 +1903,7 @@ bool Console::cmdViewReference(int argc, const char **argv) {
}
}
- int type_mask = determine_reg_type(_engine->_gamestate->_segMan, reg);
+ int type_mask = g_sci->getKernel()->findRegType(_engine->_gamestate->_segMan, reg);
int filter;
int found = 0;