From ac276eae62435b4ec2451ca5eab109d52d85b1cb Mon Sep 17 00:00:00 2001 From: Vestral <16190165+Vestrel@users.noreply.github.com> Date: Wed, 19 Mar 2025 12:23:23 +0900 Subject: [PATCH] Don't make assumptions about address format --- rpcs3/util/shared_ptr.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/rpcs3/util/shared_ptr.hpp b/rpcs3/util/shared_ptr.hpp index 29e4150c21..d6d1697030 100644 --- a/rpcs3/util/shared_ptr.hpp +++ b/rpcs3/util/shared_ptr.hpp @@ -574,7 +574,6 @@ namespace stx } // Random checks which may fail on invalid pointer - ensure((reinterpret_cast(r.d()->destroy.load()) - 0x10000) >> 47 == 0); ensure((r.d()->refs++ - 1) >> 58 == 0); return r; }