mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 07:23:05 +00:00
SCI32: Remove dead code
This commit is contained in:
parent
73fab1e135
commit
ccf5665fac
@ -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") {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user