Merge pull request #12193 from malleoz/malleo/mem2_search

Debugger/Memory: Fix mem2 search
This commit is contained in:
Admiral H. Curtiss 2023-09-24 00:02:18 +02:00 committed by GitHub
commit c0f690b780
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,8 +146,7 @@ struct EffectiveAddressSpaceAccessors : Accessors
// For now, limit to only mem1 and mem2 regions
// GetPointer can get confused by the locked dcache region that dolphin pins at 0xe0000000
u32 memory_area = (*page_physical_address) >> 24;
if ((memory_area != 0x00) && (memory_area != 0x01))
if (page_physical_address >= 0xE0000000)
{
return false;
}