diff options
author | Fernando Sahmkow <[email protected]> | 2024-01-07 05:33:43 +0100 |
---|---|---|
committer | Liam <[email protected]> | 2024-01-18 21:12:30 -0500 |
commit | 23430e67724d803184b6a861e4bcb3cac0e38cb0 (patch) | |
tree | 5d0b3dfc7175434f66d0dfb32f1d0bfa597013c4 /src/core/device_memory_manager.h | |
parent | 067284733075fb0604dbcdc6238d23cfa27c5355 (diff) | |
download | yuzu-mainline-23430e67724d803184b6a861e4bcb3cac0e38cb0.tar.gz yuzu-mainline-23430e67724d803184b6a861e4bcb3cac0e38cb0.zip |
Core: Eliminate core/memory dependancies.
Diffstat (limited to 'src/core/device_memory_manager.h')
-rw-r--r-- | src/core/device_memory_manager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/device_memory_manager.h b/src/core/device_memory_manager.h index cc9fd023f..6311e9ece 100644 --- a/src/core/device_memory_manager.h +++ b/src/core/device_memory_manager.h @@ -15,6 +15,10 @@ namespace Core { +constexpr size_t DEVICE_PAGEBITS = 12ULL; +constexpr size_t DEVICE_PAGESIZE = 1ULL << DEVICE_PAGEBITS; +constexpr size_t DEVICE_PAGEMASK = DEVICE_PAGESIZE - 1ULL; + class DeviceMemory; namespace Memory { |