Fix one more PSPPointer function. Fixes #3897

This commit is contained in:
Henrik Rydgard 2013-09-23 22:06:39 +02:00
parent 9dc9c89918
commit f69632a316

View File

@ -394,7 +394,11 @@ struct PSPPointer
inline operator T*()
{
#if defined(_M_IX86) || defined(_M_ARM32) || defined (_XBOX)
return (T *)(Memory::base + (ptr & Memory::MEMVIEW32_MASK));
#else
return (T *)(Memory::base + ptr);
#endif
}
bool IsValid() const