Reversing some faulty bit-shifting to fix 4 byte poking.
This commit is contained in:
parent
a5d7fdd870
commit
371dcc8f40
|
@ -449,17 +449,17 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
if (BigEndian)
|
||||
{
|
||||
Domain.PokeByte(Address + 0, (byte)(Value << 24));
|
||||
Domain.PokeByte(Address + 1, (byte)(Value << 16));
|
||||
Domain.PokeByte(Address + 2, (byte)(Value << 8));
|
||||
Domain.PokeByte(Address + 0, (byte)(Value >> 24));
|
||||
Domain.PokeByte(Address + 1, (byte)(Value >> 16));
|
||||
Domain.PokeByte(Address + 2, (byte)(Value >> 8));
|
||||
Domain.PokeByte(Address + 3, (byte)(Value));
|
||||
}
|
||||
else
|
||||
{
|
||||
Domain.PokeByte(Address + 0, (byte)(Value));
|
||||
Domain.PokeByte(Address + 1, (byte)(Value << 8));
|
||||
Domain.PokeByte(Address + 2, (byte)(Value << 16));
|
||||
Domain.PokeByte(Address + 3, (byte)(Value << 24));
|
||||
Domain.PokeByte(Address + 1, (byte)(Value >> 8));
|
||||
Domain.PokeByte(Address + 2, (byte)(Value >> 16));
|
||||
Domain.PokeByte(Address + 3, (byte)(Value >> 24));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue