From 0c1ddd7f571b622dbfa439b580d5c5778e9c49d5 Mon Sep 17 00:00:00 2001 From: CamilleLaVey Date: Thu, 15 Jan 2026 06:05:54 +0100 Subject: [PATCH] fixing asbits declaration --- src/core/device_memory_manager.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/device_memory_manager.h b/src/core/device_memory_manager.h index 359ab358eb..249dc08f5f 100644 --- a/src/core/device_memory_manager.h +++ b/src/core/device_memory_manager.h @@ -48,6 +48,7 @@ public: ~DeviceMemoryManager(); static constexpr bool HAS_FLUSH_INVALIDATION = true; + static constexpr size_t AS_BITS = Traits::device_virtual_bits; void BindInterface(DeviceInterface* device_inter); @@ -128,8 +129,6 @@ private: // Internal helper that performs the update assuming the caller already holds the necessary lock. void UpdatePagesCachedCountNoLock(DAddr addr, size_t size, s32 delta); - static constexpr size_t AS_BITS = Traits::device_virtual_bits; - private: static constexpr size_t device_virtual_bits = Traits::device_virtual_bits; static constexpr size_t device_as_size = 1ULL << device_virtual_bits;