summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-27 02:11:56 +0200
committerLioncash <mathew1800@gmail.com>2020-08-27 02:11:58 +0200
commitd12d59f62a9e82e391c9b0058ccf869bddd699b2 (patch)
treead26e98508a08c3556d39ccdde5cf3ea3504c2ec /src/video_core
parentMerge pull request #4582 from lioncash/xbyak (diff)
downloadyuzu-d12d59f62a9e82e391c9b0058ccf869bddd699b2.tar
yuzu-d12d59f62a9e82e391c9b0058ccf869bddd699b2.tar.gz
yuzu-d12d59f62a9e82e391c9b0058ccf869bddd699b2.tar.bz2
yuzu-d12d59f62a9e82e391c9b0058ccf869bddd699b2.tar.lz
yuzu-d12d59f62a9e82e391c9b0058ccf869bddd699b2.tar.xz
yuzu-d12d59f62a9e82e391c9b0058ccf869bddd699b2.tar.zst
yuzu-d12d59f62a9e82e391c9b0058ccf869bddd699b2.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/memory_manager.h2
1 files changed, 1 insertions, 1 deletions
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<VAddr>(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;