acc: Fix account UUID duplication error
This commit is contained in:
parent
e408bbceed
commit
45f2a2fe29
8 changed files with 103 additions and 77 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "common/file_util.h"
|
||||
#include "common/logging/log.h"
|
||||
#include "common/param_package.h"
|
||||
#include "core/hle/service/acc/profile_manager.h"
|
||||
#include "core/settings.h"
|
||||
#include "input_common/main.h"
|
||||
#include "yuzu_cmd/config.h"
|
||||
|
@ -128,8 +129,8 @@ void Config::ReadValues() {
|
|||
Settings::values.enable_nfc = sdl2_config->GetBoolean("System", "enable_nfc", true);
|
||||
const auto size = sdl2_config->GetInteger("System", "users_size", 0);
|
||||
|
||||
Settings::values.current_user =
|
||||
std::clamp<int>(sdl2_config->GetInteger("System", "current_user", 0), 0, 7);
|
||||
Settings::values.current_user = std::clamp<int>(
|
||||
sdl2_config->GetInteger("System", "current_user", 0), 0, Service::Account::MAX_USERS - 1);
|
||||
|
||||
// Miscellaneous
|
||||
Settings::values.log_filter = sdl2_config->Get("Miscellaneous", "log_filter", "*:Trace");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue