Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10895 from CasualPokePlayer/patch-1
Fix ARAM Expansion Writes
  • Loading branch information
AdmiralCurtiss committed Jul 26, 2022
2 parents 8723b1a + bd27e18 commit 6abde36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/HW/HSP/HSP_DeviceARAMExpansion.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 6abde36

Please sign in to comment.