diff options
author | Kyle Kienapfel <Docteh@users.noreply.github.com> | 2022-08-19 01:28:55 +0200 |
---|---|---|
committer | Kyle Kienapfel <Docteh@users.noreply.github.com> | 2022-08-20 01:08:40 +0200 |
commit | 14e9de6678dab47625826006f001d5e94dfb2716 (patch) | |
tree | ddb17512c52f678de96abf6dedf33a02b6a497ec /src/core/memory.h | |
parent | Merge pull request #8685 from FearlessTobi/multiplayer-part2 (diff) | |
download | yuzu-14e9de6678dab47625826006f001d5e94dfb2716.tar yuzu-14e9de6678dab47625826006f001d5e94dfb2716.tar.gz yuzu-14e9de6678dab47625826006f001d5e94dfb2716.tar.bz2 yuzu-14e9de6678dab47625826006f001d5e94dfb2716.tar.lz yuzu-14e9de6678dab47625826006f001d5e94dfb2716.tar.xz yuzu-14e9de6678dab47625826006f001d5e94dfb2716.tar.zst yuzu-14e9de6678dab47625826006f001d5e94dfb2716.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/memory.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 2a21fbcfd..a11ff8766 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -27,9 +27,9 @@ namespace Core::Memory { * Page size used by the ARM architecture. This is the smallest granularity with which memory can * be mapped. */ -constexpr std::size_t PAGE_BITS = 12; -constexpr u64 PAGE_SIZE = 1ULL << PAGE_BITS; -constexpr u64 PAGE_MASK = PAGE_SIZE - 1; +constexpr std::size_t YUZU_PAGEBITS = 12; +constexpr u64 YUZU_PAGESIZE = 1ULL << YUZU_PAGEBITS; +constexpr u64 YUZU_PAGEMASK = YUZU_PAGESIZE - 1; /// Virtual user-space memory regions enum : VAddr { |