Skip to content

Commit

Permalink
Reverted Memory Domain comparison change as per YoshiRulz.
Browse files Browse the repository at this point in the history
  • Loading branch information
roydmerkel committed Dec 1, 2024
1 parent 4fcb6b6 commit 9e824f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public virtual void BulkPeekByte(Range<long> addresses, byte[] values)
if (addresses is null) throw new ArgumentNullException(paramName: nameof(addresses));
if (values is null) throw new ArgumentNullException(paramName: nameof(values));

if ((long) addresses.Count() > values.Length)
if ((long) addresses.Count() != values.Length)
{
throw new InvalidOperationException("Invalid length of values array");
}
Expand Down

0 comments on commit 9e824f8

Please sign in to comment.