mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-09 03:58:06 +03: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
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ u64 CHSPDevice_ARAMExpansion::Read(u32 address)
|
||||||
void CHSPDevice_ARAMExpansion::Write(u32 address, u64 value)
|
void CHSPDevice_ARAMExpansion::Write(u32 address, u64 value)
|
||||||
{
|
{
|
||||||
value = Common::swap64(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)
|
void CHSPDevice_ARAMExpansion::DoState(PointerWrap& p)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue