SCI32: Remove dead code

This commit is contained in:
Colin Snover 2017-05-23 21:14:31 -05:00
parent 73fab1e135
commit ccf5665fac
2 changed files with 0 additions and 13 deletions

View File

@ -35,9 +35,6 @@ namespace Sci {
Kernel::Kernel(ResourceManager *resMan, SegManager *segMan)
: _resMan(resMan), _segMan(segMan), _invalid("<invalid>") {
#ifdef ENABLE_SCI32
_kernelFunc_StringId = 0;
#endif
}
Kernel::~Kernel() {
@ -615,10 +612,6 @@ void Kernel::mapFunctions() {
}
#ifdef ENABLE_SCI32
if (kernelName == "String") {
_kernelFunc_StringId = id;
}
// HACK: Phantasmagoria Mac uses a modified kDoSound (which *nothing*
// else seems to use)!
if (g_sci->getPlatform() == Common::kPlatformMacintosh && g_sci->getGameId() == GID_PHANTASMAGORIA && kernelName == "DoSound") {

View File

@ -183,12 +183,6 @@ public:
typedef Common::Array<KernelFunction> KernelFunctionArray;
KernelFunctionArray _kernelFuncs; /**< Table of kernel functions. */
#ifdef ENABLE_SCI32
// id of kString function, for quick usage in kArray
// kArray calls kString in case parameters are strings
uint16 _kernelFunc_StringId;
#endif
/**
* Determines whether a list of registers matches a given signature.
* If no signature is given (i.e., if sig is NULL), this is always