aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-30 00:21:32 +0000
committerFilippos Karapetis2010-01-30 00:21:32 +0000
commitc8501e2b266baa9963344163da91f8066380240d (patch)
tree03f3ade1e4629ace3b872b7ed6e9e1e791644f86 /engines/sci
parent694d30eb31f1c1a45168178cc7ee69d97df43057 (diff)
downloadscummvm-rg350-c8501e2b266baa9963344163da91f8066380240d.tar.gz
scummvm-rg350-c8501e2b266baa9963344163da91f8066380240d.tar.bz2
scummvm-rg350-c8501e2b266baa9963344163da91f8066380240d.zip
Implemented kString case 12 - it was really kFormat in disguise :)
svn-id: r47691
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kernel32.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/kernel32.cpp b/engines/sci/engine/kernel32.cpp
index 40298dc594..b866c2dada 100644
--- a/engines/sci/engine/kernel32.cpp
+++ b/engines/sci/engine/kernel32.cpp
@@ -617,8 +617,7 @@ reg_t kString(EngineState *s, int argc, reg_t *argv) {
warning("kString(Printf)");
break;
case 12: // Printf Buf
- // TODO: Store a formatted string in a specified string
- warning("kString(PrintfBuf)");
+ return kFormat(s, argc - 1, argv + 1);
break;
case 13: { // atoi
Common::String string = s->_segMan->getString(argv[1]);