Skip to content

Commit

Permalink
Fix build error when excluding displacement
Browse files Browse the repository at this point in the history
  • Loading branch information
TollyH committed May 19, 2024
1 parent df90b7a commit 070426c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Processor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4149,6 +4149,7 @@ public ulong ReadMemoryPointer(ulong offset, out ulong byteCount)
#if DISPLACEMENT
return GetPointerAddress(new Pointer(Memory.AsSpan()[(int)offset..], out byteCount));
#else
byteCount = 1;
return Registers[(int)ReadMemoryRegisterType(offset)];
#endif
}
Expand Down

0 comments on commit 070426c

Please sign in to comment.