mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-12 09:51:24 +02:00
Fix ARAM Expansion Writes
Looks like the memcpy here had its args in the wrong order.
This commit is contained in:
parent
8723b1a42e
commit
bd27e18d51
@ -37,7 +37,7 @@ u64 CHSPDevice_ARAMExpansion::Read(u32 address)
|
||||
void CHSPDevice_ARAMExpansion::Write(u32 address, u64 value)
|
||||
{
|
||||
value = Common::swap64(value);
|
||||
std::memcpy(&value, &m_ptr[address & m_mask], sizeof(value));
|
||||
std::memcpy(&m_ptr[address & m_mask], &value, sizeof(value));
|
||||
}
|
||||
|
||||
void CHSPDevice_ARAMExpansion::DoState(PointerWrap& p)
|
||||
|
Loading…
x
Reference in New Issue
Block a user