mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 22:06:27 -05:00
99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
31 lines
1 KiB
C++
31 lines
1 KiB
C++
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "core/hle/service/am/spsm.h"
|
|
|
|
namespace Service::AM {
|
|
|
|
SPSM::SPSM(Core::System& system_) : ServiceFramework{system_, "spsm"} {
|
|
// clang-format off
|
|
static const FunctionInfo functions[] = {
|
|
{0, nullptr, "GetState"},
|
|
{1, nullptr, "EnterSleep"},
|
|
{2, nullptr, "GetLastWakeReason"},
|
|
{3, nullptr, "Shutdown"},
|
|
{4, nullptr, "GetNotificationMessageEventHandle"},
|
|
{5, nullptr, "ReceiveNotificationMessage"},
|
|
{6, nullptr, "AnalyzeLogForLastSleepWakeSequence"},
|
|
{7, nullptr, "ResetEventLog"},
|
|
{8, nullptr, "AnalyzePerformanceLogForLastSleepWakeSequence"},
|
|
{9, nullptr, "ChangeHomeButtonLongPressingTime"},
|
|
{10, nullptr, "PutErrorState"},
|
|
{11, nullptr, "InvalidateCurrentHomeButtonPressing"},
|
|
};
|
|
// clang-format on
|
|
|
|
RegisterHandlers(functions);
|
|
}
|
|
|
|
SPSM::~SPSM() = default;
|
|
|
|
} // namespace Service::AM
|