mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-19 17:35:06 -04:00
pm: update with new meme command for 8.0.0
This commit is contained in:
parent
d0659377e8
commit
a67d4064f0
3 changed files with 19 additions and 2 deletions
|
@ -43,7 +43,8 @@ enum ShellCmd_5X {
|
|||
Shell_Cmd_5X_GetApplicationProcessId = 6,
|
||||
Shell_Cmd_5X_BoostSystemMemoryResourceLimit = 7,
|
||||
|
||||
Shell_Cmd_BoostSystemThreadsResourceLimit = 8
|
||||
Shell_Cmd_BoostSystemThreadsResourceLimit = 8,
|
||||
Shell_Cmd_GetUnimplementedEventHandle = 9 /* TODO: Rename when Nintendo implements this. */
|
||||
};
|
||||
|
||||
class ShellService final : public IServiceObject {
|
||||
|
@ -60,6 +61,7 @@ class ShellService final : public IServiceObject {
|
|||
Result GetApplicationProcessId(Out<u64> pid);
|
||||
Result BoostSystemMemoryResourceLimit(u64 sysmem_size);
|
||||
Result BoostSystemThreadsResourceLimit();
|
||||
Result GetUnimplementedEventHandle(Out<CopiedHandle> event);
|
||||
public:
|
||||
DEFINE_SERVICE_DISPATCH_TABLE {
|
||||
/* 1.0.0-4.0.0 */
|
||||
|
@ -88,5 +90,8 @@ class ShellService final : public IServiceObject {
|
|||
|
||||
/* 7.0.0-* */
|
||||
MakeServiceCommandMeta<Shell_Cmd_BoostSystemThreadsResourceLimit, &ShellService::BoostSystemThreadsResourceLimit, FirmwareVersion_700>(),
|
||||
|
||||
/* 8.0.0-* */
|
||||
MakeServiceCommandMeta<Shell_Cmd_GetUnimplementedEventHandle, &ShellService::GetUnimplementedEventHandle, FirmwareVersion_800>(),
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue