diff options
author | bunnei <bunneidev@gmail.com> | 2021-03-20 07:29:29 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-03-21 22:45:02 +0100 |
commit | 01f04fee322ae2750171bb0b526054170f61ad2d (patch) | |
tree | b0b21ab22a84f27a9468a86d18953a0f6bb29029 /src/core | |
parent | hle: kernel: Add k_trace module. (diff) | |
download | yuzu-01f04fee322ae2750171bb0b526054170f61ad2d.tar yuzu-01f04fee322ae2750171bb0b526054170f61ad2d.tar.gz yuzu-01f04fee322ae2750171bb0b526054170f61ad2d.tar.bz2 yuzu-01f04fee322ae2750171bb0b526054170f61ad2d.tar.lz yuzu-01f04fee322ae2750171bb0b526054170f61ad2d.tar.xz yuzu-01f04fee322ae2750171bb0b526054170f61ad2d.tar.zst yuzu-01f04fee322ae2750171bb0b526054170f61ad2d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_address_space_info.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/hle/kernel/k_address_space_info.cpp b/src/core/hle/kernel/k_address_space_info.cpp index 24944d15b..e9f56fbed 100644 --- a/src/core/hle/kernel/k_address_space_info.cpp +++ b/src/core/hle/kernel/k_address_space_info.cpp @@ -12,15 +12,15 @@ namespace Kernel { namespace { enum : u64 { - Size_1_MB = 0x100000, - Size_2_MB = 2 * Size_1_MB, - Size_128_MB = 128 * Size_1_MB, - Size_1_GB = 0x40000000, - Size_2_GB = 2 * Size_1_GB, - Size_4_GB = 4 * Size_1_GB, - Size_6_GB = 6 * Size_1_GB, - Size_64_GB = 64 * Size_1_GB, - Size_512_GB = 512 * Size_1_GB, + Size_1_MB = 0x100000ULL, + Size_2_MB = 2ULL * Size_1_MB, + Size_128_MB = 128ULL * Size_1_MB, + Size_1_GB = 0x40000000ULL, + Size_2_GB = 2ULL * Size_1_GB, + Size_4_GB = 4ULL * Size_1_GB, + Size_6_GB = 6ULL * Size_1_GB, + Size_64_GB = 64ULL * Size_1_GB, + Size_512_GB = 512ULL * Size_1_GB, Invalid = std::numeric_limits<u64>::max(), }; |