Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AR: Fix Memory Copy Without Pointer Support #1751

Merged
merged 2 commits into from Dec 23, 2014

Conversation

FenrisulfrX
Copy link
Contributor

Fix a bug when using AR codes with "Memory Copy Without Pointer Support"
code type which would write more data than it should.

Fix a bug when using AR codes with "Memory Copy Without Pointer Support"
code type which would write more data than it should.
Memory::Write_U32(Memory::Read_U32(addr_src + i), addr_dest + i);
LogInfo("Wrote %08x to address %08x", Memory::Read_U32(addr_src + i), addr_dest + i);
Memory::Write_U8(Memory::Read_U8(addr_src + i), addr_dest + i);
LogInfo("Wrote %08x to address %08x", Memory::Read_U8(addr_src + i), addr_dest + i);

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

Using ReadUncheked to avoid changing the state of the emulation
@skidau
Copy link
Contributor

skidau commented Dec 22, 2014

@dolphin-emu-bot rebuild

skidau added a commit that referenced this pull request Dec 23, 2014
AR: Fix Memory Copy Without Pointer Support
@skidau skidau merged commit e396286 into dolphin-emu:master Dec 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants