Core/MMU: Fix inverted condition in HostIsInstructionRAMAddress().

This commit is contained in:
Admiral H. Curtiss 2021-07-09 05:48:17 +02:00
parent cfcc994f6c
commit c9e4489e17

View File

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