DrChat's fix for xex header values.
This commit is contained in:
parent
d0713708e2
commit
7de9be4ef6
|
@ -177,7 +177,7 @@ X_STATUS XUserModule::GetOptHeader(uint8_t* membase, const xex2_header* header,
|
|||
break;
|
||||
default:
|
||||
// Data stored at offset to header.
|
||||
field_value = uint32_t((uint8_t*)&header->headers[0] - membase) +
|
||||
field_value = uint32_t((uint8_t*)header - membase) +
|
||||
opt_header.offset;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue