diff options
author | Liam <byteslice@airmail.cc> | 2024-02-17 20:08:49 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-18 16:35:37 +0100 |
commit | cf0de18982da2b83772d64940064b17946dabd21 (patch) | |
tree | 7b4d6324bac442205013de85497898a66cd09cad /src/core/hle/service/ns/develop_interface.cpp | |
parent | ns: rewrite ISystemUpdateInterface (diff) | |
download | yuzu-cf0de18982da2b83772d64940064b17946dabd21.tar yuzu-cf0de18982da2b83772d64940064b17946dabd21.tar.gz yuzu-cf0de18982da2b83772d64940064b17946dabd21.tar.bz2 yuzu-cf0de18982da2b83772d64940064b17946dabd21.tar.lz yuzu-cf0de18982da2b83772d64940064b17946dabd21.tar.xz yuzu-cf0de18982da2b83772d64940064b17946dabd21.tar.zst yuzu-cf0de18982da2b83772d64940064b17946dabd21.zip |
Diffstat (limited to 'src/core/hle/service/ns/develop_interface.cpp')
-rw-r--r-- | src/core/hle/service/ns/develop_interface.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/core/hle/service/ns/develop_interface.cpp b/src/core/hle/service/ns/develop_interface.cpp new file mode 100644 index 000000000..880bdbebb --- /dev/null +++ b/src/core/hle/service/ns/develop_interface.cpp @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "core/hle/service/ns/develop_interface.h" + +namespace Service::NS { + +IDevelopInterface::IDevelopInterface(Core::System& system_) : ServiceFramework{system_, "ns:dev"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "LaunchProgram"}, + {1, nullptr, "TerminateProcess"}, + {2, nullptr, "TerminateProgram"}, + {4, nullptr, "GetShellEvent"}, + {5, nullptr, "GetShellEventInfo"}, + {6, nullptr, "TerminateApplication"}, + {7, nullptr, "PrepareLaunchProgramFromHost"}, + {8, nullptr, "LaunchApplicationFromHost"}, + {9, nullptr, "LaunchApplicationWithStorageIdForDevelop"}, + {10, nullptr, "IsSystemMemoryResourceLimitBoosted"}, + {11, nullptr, "GetRunningApplicationProcessIdForDevelop"}, + {12, nullptr, "SetCurrentApplicationRightsEnvironmentCanBeActiveForDevelop"}, + {13, nullptr, "CreateApplicationResourceForDevelop"}, + {14, nullptr, "IsPreomiaForDevelop"}, + {15, nullptr, "GetApplicationProgramIdFromHost"}, + {16, nullptr, "RefreshCachedDebugValues"}, + {17, nullptr, "PrepareLaunchApplicationFromHost"}, + {18, nullptr, "GetLaunchEvent"}, + {19, nullptr, "GetLaunchResult"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +IDevelopInterface::~IDevelopInterface() = default; + +} // namespace Service::NS |