summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-04-23 14:34:19 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-21 22:43:10 +0200
commit918119ae1b67ac96d91945660d71b530475204bc (patch)
treeeeeee5ab040bcb1dd6464fc12929efc341c467b6 /src/core
parentyuzu: Port old usages of Filesystem namespace to FilesystemController (diff)
downloadyuzu-918119ae1b67ac96d91945660d71b530475204bc.tar
yuzu-918119ae1b67ac96d91945660d71b530475204bc.tar.gz
yuzu-918119ae1b67ac96d91945660d71b530475204bc.tar.bz2
yuzu-918119ae1b67ac96d91945660d71b530475204bc.tar.lz
yuzu-918119ae1b67ac96d91945660d71b530475204bc.tar.xz
yuzu-918119ae1b67ac96d91945660d71b530475204bc.tar.zst
yuzu-918119ae1b67ac96d91945660d71b530475204bc.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/settings.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index d4b70ec4c..51363fc51 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -346,6 +346,31 @@ struct TouchscreenInput {
u32 rotation_angle;
};
+enum class NANDTotalSize : u64 {
+ S29_1GB = 0x747C00000ULL,
+};
+
+enum class NANDUserSize : u64 {
+ S26GB = 0x680000000ULL,
+};
+
+enum class NANDSystemSize : u64 {
+ S2_5GB = 0xA0000000,
+};
+
+enum class SDMCSize : u64 {
+ S1GB = 0x40000000,
+ S2GB = 0x80000000,
+ S4GB = 0x100000000ULL,
+ S8GB = 0x200000000ULL,
+ S16GB = 0x400000000ULL,
+ S32GB = 0x800000000ULL,
+ S64GB = 0x1000000000ULL,
+ S128GB = 0x2000000000ULL,
+ S256GB = 0x4000000000ULL,
+ S1TB = 0x10000000000ULL,
+};
+
struct Values {
// System
bool use_docked_mode;
@@ -384,6 +409,10 @@ struct Values {
bool use_virtual_sd;
std::string nand_dir;
std::string sdmc_dir;
+ NANDTotalSize nand_total_size;
+ NANDSystemSize nand_system_size;
+ NANDUserSize nand_user_size;
+ SDMCSize sdmc_size;
// Renderer
float resolution_factor;