Correctly pass in bigEndian for MemoryDomainDelegate's BulkPeekUshort/BulkPeekUint, fixes #3516

This commit is contained in:
CasualPokePlayer 2023-01-06 10:02:28 -08:00 committed by GitHub
parent a896471164
commit 2a7cbda8c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -54,11 +54,11 @@ namespace BizHawk.Emulation.Common
{ {
if (_bulkPeekUshort != null) if (_bulkPeekUshort != null)
{ {
_bulkPeekUshort.Invoke(addresses, EndianType == Endian.Big, values); _bulkPeekUshort.Invoke(addresses, bigEndian, values);
} }
else else
{ {
base.BulkPeekUshort(addresses, EndianType == Endian.Big, values); base.BulkPeekUshort(addresses, bigEndian, values);
} }
} }
@ -66,11 +66,11 @@ namespace BizHawk.Emulation.Common
{ {
if (_bulkPeekUint != null) if (_bulkPeekUint != null)
{ {
_bulkPeekUint.Invoke(addresses, EndianType == Endian.Big, values); _bulkPeekUint.Invoke(addresses, bigEndian, values);
} }
else else
{ {
base.BulkPeekUint(addresses, EndianType == Endian.Big, values); base.BulkPeekUint(addresses, bigEndian, values);
} }
} }