Proper fix for kernel name loading (regression from commit #49537)
svn-id: r49544
This commit is contained in:
parent
3c9ab81a07
commit
a542ce174b
3 changed files with 2 additions and 2 deletions
|
@ -394,6 +394,7 @@ SciKernelFunction kfunct_mappers[] = {
|
|||
Kernel::Kernel(ResourceManager *resMan, SegManager *segMan) : _resMan(resMan), _segMan(segMan) {
|
||||
loadSelectorNames();
|
||||
mapSelectors(); // Map a few special selectors for later use
|
||||
loadKernelNames(); // must be called after the selectors are set
|
||||
}
|
||||
|
||||
Kernel::~Kernel() {
|
||||
|
|
|
@ -207,6 +207,7 @@ public:
|
|||
*/
|
||||
Common::String lookupText(reg_t address, int index);
|
||||
|
||||
private:
|
||||
/**
|
||||
* Loads the kernel function names.
|
||||
*
|
||||
|
@ -217,7 +218,6 @@ public:
|
|||
*/
|
||||
void loadKernelNames();
|
||||
|
||||
private:
|
||||
/**
|
||||
* Sets the default kernel function names, based on the SCI version used
|
||||
*/
|
||||
|
|
|
@ -217,7 +217,6 @@ Common::Error SciEngine::run() {
|
|||
}
|
||||
|
||||
script_adjust_opcode_formats(_gamestate);
|
||||
_kernel->loadKernelNames();
|
||||
|
||||
SciVersion soundVersion = _features->detectDoSoundType();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue