|
|
@ -252,8 +252,10 @@ void Module::Interface::TrySelectUserWithoutInteraction(Kernel::HLERequestContex
|
|
|
|
rb.PushRaw<u128>(INVALID_UUID);
|
|
|
|
rb.PushRaw<u128>(INVALID_UUID);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
auto user_list = profile_manager->GetAllUsers();
|
|
|
|
|
|
|
|
if (user_list.empty()) {
|
|
|
|
const auto user_list = profile_manager->GetAllUsers();
|
|
|
|
|
|
|
|
if (std::all_of(user_list.begin(), user_list.end(),
|
|
|
|
|
|
|
|
[](const auto& user) { return user.uuid == INVALID_UUID; })) {
|
|
|
|
rb.Push(ResultCode(-1)); // TODO(ogniK): Find the correct error code
|
|
|
|
rb.Push(ResultCode(-1)); // TODO(ogniK): Find the correct error code
|
|
|
|
rb.PushRaw<u128>(INVALID_UUID);
|
|
|
|
rb.PushRaw<u128>(INVALID_UUID);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|