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 authored and GitHub committed 2021-07-09 11:54:58 +02:00
commit 838434a9df
1 file changed
+1 -1
+1 -1
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)