Skip to content

Commit

Permalink
Merge pull request #9879 from AdmiralCurtiss/host-is-instruction-ram-…
Browse files Browse the repository at this point in the history
…address-fix

Core/MMU: Fix inverted condition in HostIsInstructionRAMAddress().
  • Loading branch information
leoetlino committed Jul 9, 2021
2 parents cfcc994 + c9e4489 commit 838434a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/MMU.cpp
Expand Up @@ -885,7 +885,7 @@ bool HostIsRAMAddress(u32 address, RequestedAddressSpace space)
bool HostIsInstructionRAMAddress(u32 address, RequestedAddressSpace space)
{
// Instructions are always 32bit aligned.
if (!(address & 3))
if (address & 3)
return false;

switch (space)
Expand Down

0 comments on commit 838434a

Please sign in to comment.