diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index 533b415e9..52978acc4 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h @@ -51,7 +51,7 @@ public: return static_cast(state) << ShiftBits; } - constexpr PageEntry operator+(u64 offset) { + constexpr PageEntry operator+(u64 offset) const { // If this is a reserved value, offsets do not apply if (!IsValid()) { return *this;