diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2022-08-21 12:59:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-21 12:59:01 -0400 |
| commit | eaf4777e58fcd39060ef1d2001a6680f987c6402 (patch) | |
| tree | 7f087cacbde745c7d64f205618b80624c8599074 /src/video_core/buffer_cache/buffer_base.h | |
| parent | 495b3a7e72457b53ebe5ec490a6df2031d98417c (diff) | |
| parent | ea00332a670c6d0a6ab2b9a370e5f7a39dfbabba (diff) | |
Merge pull request #8784 from Docteh/nosnek
code: dodge PAGE_SIZE #define
Diffstat (limited to 'src/video_core/buffer_cache/buffer_base.h')
| -rw-r--r-- | src/video_core/buffer_cache/buffer_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache/buffer_base.h b/src/video_core/buffer_cache/buffer_base.h index 3e20608ca5..0b2bc67b1f 100644 --- a/src/video_core/buffer_cache/buffer_base.h +++ b/src/video_core/buffer_cache/buffer_base.h @@ -36,7 +36,7 @@ struct NullBufferParams {}; template <class RasterizerInterface> class BufferBase { static constexpr u64 PAGES_PER_WORD = 64; - static constexpr u64 BYTES_PER_PAGE = Core::Memory::PAGE_SIZE; + static constexpr u64 BYTES_PER_PAGE = Core::Memory::YUZU_PAGESIZE; static constexpr u64 BYTES_PER_WORD = PAGES_PER_WORD * BYTES_PER_PAGE; /// Vector tracking modified pages tightly packed with small vector optimization |
