mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
SCI: Fix support for 32-bit SCI3 script offsets
This commit is contained in:
@@ -71,7 +71,9 @@ const char *opcodeNames[] = {
|
||||
reg_t disassemble(EngineState *s, reg32_t pos, reg_t objAddr, bool printBWTag, bool printBytecode) {
|
||||
SegmentObj *mobj = s->_segMan->getSegment(pos.getSegment(), SEG_TYPE_SCRIPT);
|
||||
Script *script_entity = NULL;
|
||||
reg_t retval = make_reg(pos.getSegment(), pos.getOffset() + 1);
|
||||
reg_t retval;
|
||||
retval.setSegment(pos.getSegment());
|
||||
retval.setOffset(pos.getOffset() + 1);
|
||||
uint16 param_value = 0xffff; // Suppress GCC warning by setting default value, chose value as invalid to getKernelName etc.
|
||||
uint i = 0;
|
||||
Kernel *kernel = g_sci->getKernel();
|
||||
|
||||
Reference in New Issue
Block a user