Resolve bigEndian nonsense for MemoryDomainDelegateSysBusNES too

TODO: This is just MemoryDomainDelegate but with a SendCheatToCore delegate allowed to be added, surely we could just add this to the existing MemoryDomainDelegate? Or better yet MemoryDomainDelegateSysBusNES could just inherit MemoryDomainDelegate if this wants to be separated (and reduce all this code duplication)
This commit is contained in:
CasualPokePlayer 2023-01-06 10:10:14 -08:00 committed by GitHub
parent 2a7cbda8c5
commit 0bd2a1d89b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

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