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

Memmap: Fix switch fallthroughs #2012

Merged
merged 1 commit into from Feb 6, 2015
Merged

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Feb 4, 2015

As stated by @tueidj in #1996, one of these was also a bug that was overlooked in a past pull request. So I figured I'd break this change out of that pull request so it's more localized and will actually have its own entry in the git history.

Fixes a bug where out of range MEM2 accesses would hit the locked cache.
@@ -307,6 +308,7 @@ u8* GetPointer(const u32 address)
default:
if (bFakeVMEM)
return m_pFakeVMEM + (address & FAKEVMEM_MASK);
break;

This comment was marked as off-topic.

@magumagu
Copy link
Contributor

magumagu commented Feb 4, 2015

LGTM.

skidau added a commit that referenced this pull request Feb 6, 2015
Memmap: Fix switch fallthroughs
@skidau skidau merged commit 8f4bcf3 into dolphin-emu:master Feb 6, 2015
@lioncash lioncash deleted the memswitch branch February 6, 2015 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants