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
commit 838434a9df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)