Fixed transports using segment offsets
This commit is contained in:
parent
5e1b43bb06
commit
5ca8053392
2 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ namespace LightReflectiveMirror
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var data = segmentData.Array;
|
var data = segmentData.Array;
|
||||||
int pos = 0;
|
int pos = segmentData.Offset;
|
||||||
|
|
||||||
OpCodes opcode = (OpCodes)data.ReadByte(ref pos);
|
OpCodes opcode = (OpCodes)data.ReadByte(ref pos);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ namespace LightReflectiveMirror
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var data = segmentData.Array;
|
var data = segmentData.Array;
|
||||||
int pos = 0;
|
int pos = segmentData.Offset;
|
||||||
|
|
||||||
OpCodes opcode = (OpCodes)data.ReadByte(ref pos);
|
OpCodes opcode = (OpCodes)data.ReadByte(ref pos);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue