SCI: Added SegManager::getScript method and modified code to make use of it; moved VERIFY from seg_manager.h to seg_manager.cpp
svn-id: r40268
This commit is contained in:
parent
9d970009a6
commit
58ee0314ae
4 changed files with 78 additions and 164 deletions
|
@ -263,7 +263,6 @@ ExecStack *execute_method(EngineState *s, uint16 script, uint16 pubfunct, StackP
|
|||
seg = s->seg_manager->segGet(script);
|
||||
|
||||
temp = s->seg_manager->validateExportFunc(pubfunct, seg);
|
||||
VERIFY(temp, "Invalid pubfunct in export table");
|
||||
if (!temp) {
|
||||
sciprintf("Request for invalid exported function 0x%x of script 0x%x\n", pubfunct, script);
|
||||
script_error_flag = script_debug_flag = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue