2021-03-20 06:52:47 +00:00
|
|
|
// Copyright 2021 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-03-20 07:43:00 +00:00
|
|
|
#include <limits>
|
|
|
|
|
2021-03-20 06:52:47 +00:00
|
|
|
#include "common/common_types.h"
|
|
|
|
|
2021-03-24 01:31:46 +00:00
|
|
|
namespace Common {
|
|
|
|
|
2021-03-20 06:52:47 +00:00
|
|
|
enum : u64 {
|
2021-03-20 07:43:00 +00:00
|
|
|
Size_1_KB = 0x400ULL,
|
|
|
|
Size_64_KB = 64ULL * Size_1_KB,
|
|
|
|
Size_128_KB = 128ULL * Size_1_KB,
|
2021-03-20 06:52:47 +00:00
|
|
|
Size_1_MB = 0x100000ULL,
|
|
|
|
Size_2_MB = 2ULL * Size_1_MB,
|
|
|
|
Size_4_MB = 4ULL * Size_1_MB,
|
2021-03-20 07:43:00 +00:00
|
|
|
Size_5_MB = 5ULL * Size_1_MB,
|
2021-03-20 06:52:47 +00:00
|
|
|
Size_14_MB = 14ULL * Size_1_MB,
|
|
|
|
Size_32_MB = 32ULL * Size_1_MB,
|
2021-03-20 07:23:06 +00:00
|
|
|
Size_33_MB = 33ULL * Size_1_MB,
|
2021-03-20 06:52:47 +00:00
|
|
|
Size_128_MB = 128ULL * Size_1_MB,
|
2021-03-20 07:23:06 +00:00
|
|
|
Size_448_MB = 448ULL * Size_1_MB,
|
|
|
|
Size_507_MB = 507ULL * Size_1_MB,
|
2021-06-14 11:42:22 +00:00
|
|
|
Size_512_MB = 512ULL * Size_1_MB,
|
2021-03-20 07:23:06 +00:00
|
|
|
Size_562_MB = 562ULL * Size_1_MB,
|
|
|
|
Size_1554_MB = 1554ULL * Size_1_MB,
|
|
|
|
Size_2048_MB = 2048ULL * Size_1_MB,
|
|
|
|
Size_2193_MB = 2193ULL * Size_1_MB,
|
|
|
|
Size_3285_MB = 3285ULL * Size_1_MB,
|
|
|
|
Size_4916_MB = 4916ULL * Size_1_MB,
|
2021-03-20 06:52:47 +00:00
|
|
|
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,
|
2021-03-20 07:23:06 +00:00
|
|
|
Size_8_GB = 8ULL * Size_1_GB,
|
2021-03-20 06:52:47 +00:00
|
|
|
Size_64_GB = 64ULL * Size_1_GB,
|
|
|
|
Size_512_GB = 512ULL * Size_1_GB,
|
2021-03-20 07:43:00 +00:00
|
|
|
Size_Invalid = std::numeric_limits<u64>::max(),
|
2021-03-20 06:52:47 +00:00
|
|
|
};
|
2021-03-24 01:31:46 +00:00
|
|
|
|
|
|
|
} // namespace Common
|