aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-12-30 15:01:54 +0000
committerFilippos Karapetis2009-12-30 15:01:54 +0000
commit6305dde687a13bce1358b8fbade3a55e2301adca (patch)
treee6c51457c074a7f0bace655dfe1afa43a1c2ab73 /engines
parent5f9febd1aaa52117a6c9fcb51bc2225cdf00cf14 (diff)
downloadscummvm-rg350-6305dde687a13bce1358b8fbade3a55e2301adca.tar.gz
scummvm-rg350-6305dde687a13bce1358b8fbade3a55e2301adca.tar.bz2
scummvm-rg350-6305dde687a13bce1358b8fbade3a55e2301adca.zip
Fixed warnings
svn-id: r46747
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kernel32.cpp2
-rw-r--r--engines/sci/engine/klists.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel32.cpp b/engines/sci/engine/kernel32.cpp
index 64fed6cec3..fbe5b200a8 100644
--- a/engines/sci/engine/kernel32.cpp
+++ b/engines/sci/engine/kernel32.cpp
@@ -634,6 +634,7 @@ reg_t kUpdateScreenItem(EngineState *s, int argc, reg_t *argv) {
}
reg_t kDeleteScreenItem(EngineState *s, int argc, reg_t *argv) {
+ /*
reg_t viewObj = argv[0];
uint16 viewId = GET_SEL32V(s->_segMan, viewObj, view);
int16 loopNo = GET_SEL32V(s->_segMan, viewObj, loop);
@@ -642,6 +643,7 @@ reg_t kDeleteScreenItem(EngineState *s, int argc, reg_t *argv) {
//int16 topPos = 0;
int16 priority = GET_SEL32V(s->_segMan, viewObj, priority);
//int16 control = 0;
+ */
// TODO
diff --git a/engines/sci/engine/klists.cpp b/engines/sci/engine/klists.cpp
index dcee89f01a..b6160f2068 100644
--- a/engines/sci/engine/klists.cpp
+++ b/engines/sci/engine/klists.cpp
@@ -689,7 +689,7 @@ reg_t kList(EngineState *s, int argc, reg_t *argv) {
case 22:
return kSort(s, argc - 1, argv + 1);
default:
- warning("kList: Unhandled case %d");
+ warning("kList: Unhandled case %d", argv[0].toUint16());
return NULL_REG;
}