Fix a bad check, causing masked memory to fail on non-32-bit platforms even if desired.

This commit is contained in:
Henrik Rydgård 2020-11-02 23:11:44 +01:00
parent 21830d4984
commit dd7983c8dd

View file

@ -121,7 +121,7 @@ static MemoryView views[] =
static const int num_views = sizeof(views) / sizeof(MemoryView);
inline static bool CanIgnoreView(const MemoryView &view) {
#if PPSSPP_ARCH(32BIT)
#ifdef MASKED_PSP_MEMORY
// Basically, 32-bit platforms can ignore views that are masked out anyway.
return (view.flags & MV_MIRROR_PREVIOUS) && (view.virtual_address & ~MEMVIEW32_MASK) != 0;
#else