diff options
| author | 2021-03-23 18:31:46 -0700 | |
|---|---|---|
| committer | 2021-03-23 18:31:46 -0700 | |
| commit | ab5995c7ae878fcf3b9a0c537f0e37377f206d76 (patch) | |
| tree | e48ed1c0a30a0ce2fe5365023934030e68ac9379 /src/common | |
| parent | hle: kernel: Merge KMemoryRegionAttr and KMemoryRegionType. (diff) | |
| download | yuzu-ab5995c7ae878fcf3b9a0c537f0e37377f206d76.tar.gz yuzu-ab5995c7ae878fcf3b9a0c537f0e37377f206d76.tar.xz yuzu-ab5995c7ae878fcf3b9a0c537f0e37377f206d76.zip | |
common: common_sizes: Move sizes to the Common namespace.
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/common_sizes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/common_sizes.h b/src/common/common_sizes.h index 5dc039c94..7e9fd968b 100644 --- a/src/common/common_sizes.h +++ b/src/common/common_sizes.h | |||
| @@ -8,6 +8,8 @@ | |||
| 8 | 8 | ||
| 9 | #include "common/common_types.h" | 9 | #include "common/common_types.h" |
| 10 | 10 | ||
| 11 | namespace Common { | ||
| 12 | |||
| 11 | enum : u64 { | 13 | enum : u64 { |
| 12 | Size_1_KB = 0x400ULL, | 14 | Size_1_KB = 0x400ULL, |
| 13 | Size_64_KB = 64ULL * Size_1_KB, | 15 | Size_64_KB = 64ULL * Size_1_KB, |
| @@ -37,3 +39,5 @@ enum : u64 { | |||
| 37 | Size_512_GB = 512ULL * Size_1_GB, | 39 | Size_512_GB = 512ULL * Size_1_GB, |
| 38 | Size_Invalid = std::numeric_limits<u64>::max(), | 40 | Size_Invalid = std::numeric_limits<u64>::max(), |
| 39 | }; | 41 | }; |
| 42 | |||
| 43 | } // namespace Common | ||