11 changed files with 342 additions and 127 deletions
-
6src/core/CMakeLists.txt
-
130src/core/hle/service/acc/acc.cpp
-
19src/core/hle/service/acc/acc.h
-
22src/core/hle/service/acc/acc_aa.cpp
-
18src/core/hle/service/acc/acc_aa.h
-
55src/core/hle/service/acc/acc_su.cpp
-
18src/core/hle/service/acc/acc_su.h
-
113src/core/hle/service/acc/acc_u0.cpp
-
28src/core/hle/service/acc/acc_u0.h
-
42src/core/hle/service/acc/acc_u1.cpp
-
18src/core/hle/service/acc/acc_u1.h
@ -0,0 +1,22 @@ |
|||||
|
// Copyright 2018 yuzu emulator team
|
||||
|
// Licensed under GPLv2 or any later version
|
||||
|
// Refer to the license.txt file included.
|
||||
|
|
||||
|
#include "core/hle/service/acc/acc_aa.h"
|
||||
|
|
||||
|
namespace Service { |
||||
|
namespace Account { |
||||
|
|
||||
|
ACC_AA::ACC_AA(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:aa") { |
||||
|
static const FunctionInfo functions[] = { |
||||
|
{0, nullptr, "EnsureCacheAsync"}, |
||||
|
{1, nullptr, "LoadCache"}, |
||||
|
{2, nullptr, "GetDeviceAccountId"}, |
||||
|
{50, nullptr, "RegisterNotificationTokenAsync"}, |
||||
|
{51, nullptr, "UnregisterNotificationTokenAsync"}, |
||||
|
}; |
||||
|
RegisterHandlers(functions); |
||||
|
} |
||||
|
|
||||
|
} // namespace Account
|
||||
|
} // namespace Service
|
||||
@ -0,0 +1,18 @@ |
|||||
|
// Copyright 2018 yuzu emulator team |
||||
|
// Licensed under GPLv2 or any later version |
||||
|
// Refer to the license.txt file included. |
||||
|
|
||||
|
#pragma once |
||||
|
|
||||
|
#include "core/hle/service/acc/acc.h" |
||||
|
|
||||
|
namespace Service { |
||||
|
namespace Account { |
||||
|
|
||||
|
class ACC_AA final : public Module::Interface { |
||||
|
public: |
||||
|
explicit ACC_AA(std::shared_ptr<Module> module); |
||||
|
}; |
||||
|
|
||||
|
} // namespace Account |
||||
|
} // namespace Service |
||||
@ -0,0 +1,55 @@ |
|||||
|
// Copyright 2018 yuzu emulator team
|
||||
|
// Licensed under GPLv2 or any later version
|
||||
|
// Refer to the license.txt file included.
|
||||
|
|
||||
|
#include "core/hle/service/acc/acc_su.h"
|
||||
|
|
||||
|
namespace Service { |
||||
|
namespace Account { |
||||
|
|
||||
|
ACC_SU::ACC_SU(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:su") { |
||||
|
static const FunctionInfo functions[] = { |
||||
|
{0, nullptr, "GetUserCount"}, |
||||
|
{1, &ACC_SU::GetUserExistence, "GetUserExistence"}, |
||||
|
{2, &ACC_SU::ListAllUsers, "ListAllUsers"}, |
||||
|
{3, &ACC_SU::ListOpenUsers, "ListOpenUsers"}, |
||||
|
{4, &ACC_SU::GetLastOpenedUser, "GetLastOpenedUser"}, |
||||
|
{5, &ACC_SU::GetProfile, "GetProfile"}, |
||||
|
{6, nullptr, "GetProfileDigest"}, |
||||
|
{50, nullptr, "IsUserRegistrationRequestPermitted"}, |
||||
|
{51, nullptr, "TrySelectUserWithoutInteraction"}, |
||||
|
{60, nullptr, "ListOpenContextStoredUsers"}, |
||||
|
{100, nullptr, "GetUserRegistrationNotifier"}, |
||||
|
{101, nullptr, "GetUserStateChangeNotifier"}, |
||||
|
{102, nullptr, "GetBaasAccountManagerForSystemService"}, |
||||
|
{103, nullptr, "GetBaasUserAvailabilityChangeNotifier"}, |
||||
|
{104, nullptr, "GetProfileUpdateNotifier"}, |
||||
|
{105, nullptr, "CheckNetworkServiceAvailabilityAsync"}, |
||||
|
{110, nullptr, "StoreSaveDataThumbnail"}, |
||||
|
{111, nullptr, "ClearSaveDataThumbnail"}, |
||||
|
{112, nullptr, "LoadSaveDataThumbnail"}, |
||||
|
{113, nullptr, "GetSaveDataThumbnailExistence"}, |
||||
|
{190, nullptr, "GetUserLastOpenedApplication"}, |
||||
|
{191, nullptr, "ActivateOpenContextHolder"}, |
||||
|
{200, nullptr, "BeginUserRegistration"}, |
||||
|
{201, nullptr, "CompleteUserRegistration"}, |
||||
|
{202, nullptr, "CancelUserRegistration"}, |
||||
|
{203, nullptr, "DeleteUser"}, |
||||
|
{204, nullptr, "SetUserPosition"}, |
||||
|
{205, nullptr, "GetProfileEditor"}, |
||||
|
{206, nullptr, "CompleteUserRegistrationForcibly"}, |
||||
|
{210, nullptr, "CreateFloatingRegistrationRequest"}, |
||||
|
{230, nullptr, "AuthenticateServiceAsync"}, |
||||
|
{250, nullptr, "GetBaasAccountAdministrator"}, |
||||
|
{290, nullptr, "ProxyProcedureForGuestLoginWithNintendoAccount"}, |
||||
|
{291, nullptr, "ProxyProcedureForFloatingRegistrationWithNintendoAccount"}, |
||||
|
{299, nullptr, "SuspendBackgroundDaemon"}, |
||||
|
{997, nullptr, "DebugInvalidateTokenCacheForUser"}, |
||||
|
{998, nullptr, "DebugSetUserStateClose"}, |
||||
|
{999, nullptr, "DebugSetUserStateOpen"}, |
||||
|
}; |
||||
|
RegisterHandlers(functions); |
||||
|
} |
||||
|
|
||||
|
} // namespace Account
|
||||
|
} // namespace Service
|
||||
@ -0,0 +1,18 @@ |
|||||
|
// Copyright 2018 yuzu emulator team |
||||
|
// Licensed under GPLv2 or any later version |
||||
|
// Refer to the license.txt file included. |
||||
|
|
||||
|
#pragma once |
||||
|
|
||||
|
#include "core/hle/service/acc/acc.h" |
||||
|
|
||||
|
namespace Service { |
||||
|
namespace Account { |
||||
|
|
||||
|
class ACC_SU final : public Module::Interface { |
||||
|
public: |
||||
|
explicit ACC_SU(std::shared_ptr<Module> module); |
||||
|
}; |
||||
|
|
||||
|
} // namespace Account |
||||
|
} // namespace Service |
||||
@ -0,0 +1,42 @@ |
|||||
|
// Copyright 2018 yuzu emulator team
|
||||
|
// Licensed under GPLv2 or any later version
|
||||
|
// Refer to the license.txt file included.
|
||||
|
|
||||
|
#include "core/hle/service/acc/acc_u1.h"
|
||||
|
|
||||
|
namespace Service { |
||||
|
namespace Account { |
||||
|
|
||||
|
ACC_U1::ACC_U1(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:u1") { |
||||
|
static const FunctionInfo functions[] = { |
||||
|
{0, nullptr, "GetUserCount"}, |
||||
|
{1, &ACC_U1::GetUserExistence, "GetUserExistence"}, |
||||
|
{2, &ACC_U1::ListAllUsers, "ListAllUsers"}, |
||||
|
{3, &ACC_U1::ListOpenUsers, "ListOpenUsers"}, |
||||
|
{4, &ACC_U1::GetLastOpenedUser, "GetLastOpenedUser"}, |
||||
|
{5, &ACC_U1::GetProfile, "GetProfile"}, |
||||
|
{6, nullptr, "GetProfileDigest"}, |
||||
|
{50, nullptr, "IsUserRegistrationRequestPermitted"}, |
||||
|
{51, nullptr, "TrySelectUserWithoutInteraction"}, |
||||
|
{60, nullptr, "ListOpenContextStoredUsers"}, |
||||
|
{100, nullptr, "GetUserRegistrationNotifier"}, |
||||
|
{101, nullptr, "GetUserStateChangeNotifier"}, |
||||
|
{102, nullptr, "GetBaasAccountManagerForSystemService"}, |
||||
|
{103, nullptr, "GetProfileUpdateNotifier"}, |
||||
|
{104, nullptr, "CheckNetworkServiceAvailabilityAsync"}, |
||||
|
{105, nullptr, "GetBaasUserAvailabilityChangeNotifier"}, |
||||
|
{110, nullptr, "StoreSaveDataThumbnail"}, |
||||
|
{111, nullptr, "ClearSaveDataThumbnail"}, |
||||
|
{112, nullptr, "LoadSaveDataThumbnail"}, |
||||
|
{113, nullptr, "GetSaveDataThumbnailExistence"}, |
||||
|
{190, nullptr, "GetUserLastOpenedApplication"}, |
||||
|
{191, nullptr, "ActivateOpenContextHolder"}, |
||||
|
{997, nullptr, "DebugInvalidateTokenCacheForUser"}, |
||||
|
{998, nullptr, "DebugSetUserStateClose"}, |
||||
|
{999, nullptr, "DebugSetUserStateOpen"}, |
||||
|
}; |
||||
|
RegisterHandlers(functions); |
||||
|
} |
||||
|
|
||||
|
} // namespace Account
|
||||
|
} // namespace Service
|
||||
@ -0,0 +1,18 @@ |
|||||
|
// Copyright 2018 yuzu emulator team |
||||
|
// Licensed under GPLv2 or any later version |
||||
|
// Refer to the license.txt file included. |
||||
|
|
||||
|
#pragma once |
||||
|
|
||||
|
#include "core/hle/service/acc/acc.h" |
||||
|
|
||||
|
namespace Service { |
||||
|
namespace Account { |
||||
|
|
||||
|
class ACC_U1 final : public Module::Interface { |
||||
|
public: |
||||
|
explicit ACC_U1(std::shared_ptr<Module> module); |
||||
|
}; |
||||
|
|
||||
|
} // namespace Account |
||||
|
} // namespace Service |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue