Merge pull request #9879 from AdmiralCurtiss/host-is-instruction-ram-address-fix
Core/MMU: Fix inverted condition in HostIsInstructionRAMAddress().
This commit is contained in:
commit
838434a9df
|
@ -885,7 +885,7 @@ bool HostIsRAMAddress(u32 address, RequestedAddressSpace space)
|
||||||
bool HostIsInstructionRAMAddress(u32 address, RequestedAddressSpace space)
|
bool HostIsInstructionRAMAddress(u32 address, RequestedAddressSpace space)
|
||||||
{
|
{
|
||||||
// Instructions are always 32bit aligned.
|
// Instructions are always 32bit aligned.
|
||||||
if (!(address & 3))
|
if (address & 3)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
switch (space)
|
switch (space)
|
||||||
|
|
Loading…
Reference in New Issue