diff options
| author | 2020-07-14 12:16:42 -0400 | |
|---|---|---|
| committer | 2020-07-14 12:16:42 -0400 | |
| commit | 450cbcfee6f006407f1e355ae7d29842398bb3de (patch) | |
| tree | 9db395374e8a2f45aca2d8b04257e7db216b6140 /src/yuzu_cmd/config.cpp | |
| parent | Merge pull request #4338 from ameerj/disconnected-adapter (diff) | |
| parent | bis_factory: Set User NAND free space to be 1 MiB less than total. (diff) | |
| download | yuzu-450cbcfee6f006407f1e355ae7d29842398bb3de.tar.gz yuzu-450cbcfee6f006407f1e355ae7d29842398bb3de.tar.xz yuzu-450cbcfee6f006407f1e355ae7d29842398bb3de.zip | |
Merge pull request #4282 from Morph1984/fs-size
filesystem: Set various NAND partition sizes to their defaults
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 23763144f..dce70a1e0 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -335,15 +335,6 @@ void Config::ReadValues() { | |||
| 335 | Settings::values.gamecard_current_game = | 335 | Settings::values.gamecard_current_game = |
| 336 | sdl2_config->GetBoolean("Data Storage", "gamecard_current_game", false); | 336 | sdl2_config->GetBoolean("Data Storage", "gamecard_current_game", false); |
| 337 | Settings::values.gamecard_path = sdl2_config->Get("Data Storage", "gamecard_path", ""); | 337 | Settings::values.gamecard_path = sdl2_config->Get("Data Storage", "gamecard_path", ""); |
| 338 | Settings::values.nand_total_size = static_cast<Settings::NANDTotalSize>(sdl2_config->GetInteger( | ||
| 339 | "Data Storage", "nand_total_size", static_cast<long>(Settings::NANDTotalSize::S29_1GB))); | ||
| 340 | Settings::values.nand_user_size = static_cast<Settings::NANDUserSize>(sdl2_config->GetInteger( | ||
| 341 | "Data Storage", "nand_user_size", static_cast<long>(Settings::NANDUserSize::S26GB))); | ||
| 342 | Settings::values.nand_system_size = static_cast<Settings::NANDSystemSize>( | ||
| 343 | sdl2_config->GetInteger("Data Storage", "nand_system_size", | ||
| 344 | static_cast<long>(Settings::NANDSystemSize::S2_5GB))); | ||
| 345 | Settings::values.sdmc_size = static_cast<Settings::SDMCSize>(sdl2_config->GetInteger( | ||
| 346 | "Data Storage", "sdmc_size", static_cast<long>(Settings::SDMCSize::S16GB))); | ||
| 347 | 338 | ||
| 348 | // System | 339 | // System |
| 349 | Settings::values.use_docked_mode = sdl2_config->GetBoolean("System", "use_docked_mode", false); | 340 | Settings::values.use_docked_mode = sdl2_config->GetBoolean("System", "use_docked_mode", false); |