15 lines
622 B
C++
15 lines
622 B
C++
// SPDX-License-Identifier: MPL-2.0
|
|
// Copyright © 2020 Skyline Team and Contributors (https://github.com/skyline-emu/)
|
|
|
|
#include "IApplicationFunctions.h"
|
|
|
|
namespace skyline::service::am {
|
|
IApplicationFunctions::IApplicationFunctions(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager, Service::am_IApplicationFunctions, "am:IApplicationFunctions", {
|
|
{0x28, SFUNC(IApplicationFunctions::NotifyRunning)}
|
|
}) {}
|
|
|
|
void IApplicationFunctions::NotifyRunning(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
|
response.Push<u8>(1);
|
|
}
|
|
}
|