mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Fixed the endianess of the 32bit MMIO reads.
This commit is contained in:
parent
de6dd847e7
commit
7d5c509c07
@ -146,11 +146,11 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base)
|
||||
for (int i = 0; i < 0x1000; i += 4)
|
||||
{
|
||||
mmio->Register(base | i,
|
||||
MMIO::ReadToLarger<u16>(mmio, base | i, 0),
|
||||
MMIO::ReadToLarger<u16>(mmio, base | i, 16),
|
||||
MMIO::InvalidWrite<u16>()
|
||||
);
|
||||
mmio->Register(base | (i + 2),
|
||||
MMIO::ReadToLarger<u16>(mmio, base | i, 16),
|
||||
MMIO::ReadToLarger<u16>(mmio, base | i, 0),
|
||||
MMIO::InvalidWrite<u16>()
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user