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:
parent
2a7cbda8c5
commit
0bd2a1d89b
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue