aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-19 07:13:29 +0000
committerJohannes Schickel2009-08-19 07:13:29 +0000
commit2f162c72c9309037eb0c71ae520319cceb7756e1 (patch)
tree021bd29f094a9fa93c2cdd20012fac38d4f1efba
parent5e92db60010d2545daf9673d2aeb97e11782fe01 (diff)
downloadscummvm-rg350-2f162c72c9309037eb0c71ae520319cceb7756e1.tar.gz
scummvm-rg350-2f162c72c9309037eb0c71ae520319cceb7756e1.tar.bz2
scummvm-rg350-2f162c72c9309037eb0c71ae520319cceb7756e1.zip
Comment out unused function (which was also currently only enabled when SCI32 is enabled).
svn-id: r43528
-rw-r--r--engines/sci/engine/kernel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp
index 223e7fc1e9..a871df936f 100644
--- a/engines/sci/engine/kernel.cpp
+++ b/engines/sci/engine/kernel.cpp
@@ -820,7 +820,7 @@ void Kernel::setDefaultKernelNames() {
}
#ifdef ENABLE_SCI32
-static void vocab_get_knames11(ResourceManager *resmgr, Common::StringList &names) {
+//static void vocab_get_knames11(ResourceManager *resmgr, Common::StringList &names) {
/*
999.voc format for SCI1.1 games:
[b] # of kernel functions
@@ -830,7 +830,7 @@ static void vocab_get_knames11(ResourceManager *resmgr, Common::StringList &name
{[w name-len][function name]}
...
*/
- //unsigned int size = 64, pos = 3;
+/* //unsigned int size = 64, pos = 3;
int len;
Resource *r = resmgr->findResource(ResourceId(kResourceTypeVocab, VOCAB_RESOURCE_KNAMES), 0);
if(r == NULL) // failed to open vocab.999 (happens with SCI1 demos)
@@ -843,7 +843,7 @@ static void vocab_get_knames11(ResourceManager *resmgr, Common::StringList &name
len = READ_LE_UINT16(r->data + off);
names[i] = Common::String((char *)r->data + off + 2, len);
}
-}
+}*/
#endif
bool Kernel::loadKernelNames() {