VERY experimental Nintendo Switch 2 emulator
C++
memory_manager: Make operator+ const qualified
Lioncash4ccecf6fecaf
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.hindex 533b415e9c..52978acc4b 100644--- a/src/video_core/memory_manager.h+++ b/src/video_core/memory_manager.h@@ -51,7 +51,7 @@ public:return static_cast<VAddr>(state) << ShiftBits;}- constexpr PageEntry operator+(u64 offset) {+ constexpr PageEntry operator+(u64 offset) const {// If this is a reserved value, offsets do not applyif (!IsValid()) {return *this;