Merge pull request #9879 from AdmiralCurtiss/host-is-instruction-ram-address-fix

Core/MMU: Fix inverted condition in HostIsInstructionRAMAddress().
This commit is contained in:
Léo Lam
2021-07-09 11:54:58 +02:00
committed by GitHub

View File

@ -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)