mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 00:55:45 +00:00
service/am: Add missing am services
Adds the basic skeleton for missing am services idle:sys, omm, and spsm based off the information provided by Switch Brew.
This commit is contained in:
parent
18dd56c38d
commit
00ce1994f3
8 changed files with 156 additions and 0 deletions
30
src/core/hle/service/am/spsm.cpp
Normal file
30
src/core/hle/service/am/spsm.cpp
Normal file
|
@ -0,0 +1,30 @@
|
|||
// Copyright 2018 yuzu emulator team
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "core/hle/service/am/spsm.h"
|
||||
|
||||
namespace Service::AM {
|
||||
|
||||
SPSM::SPSM() : ServiceFramework{"spsm"} {
|
||||
// clang-format off
|
||||
static const FunctionInfo functions[] = {
|
||||
{0, nullptr, "GetState"},
|
||||
{1, nullptr, "SleepSystemAndWaitAwake"},
|
||||
{2, nullptr, "Unknown1"},
|
||||
{3, nullptr, "Unknown2"},
|
||||
{4, nullptr, "GetNotificationMessageEventHandle"},
|
||||
{5, nullptr, "Unknown3"},
|
||||
{6, nullptr, "Unknown4"},
|
||||
{7, nullptr, "Unknown5"},
|
||||
{8, nullptr, "AnalyzePerformanceLogForLastSleepWakeSequence"},
|
||||
{9, nullptr, "ChangeHomeButtonLongPressingTime"},
|
||||
{10, nullptr, "Unknown6"},
|
||||
{11, nullptr, "Unknown7"},
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
RegisterHandlers(functions);
|
||||
}
|
||||
|
||||
} // namespace Service::AM
|
Loading…
Add table
Add a link
Reference in a new issue