yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

apt: added stubbed function for InquireNotification

This commit is contained in:
bunnei 2014-05-28 23:33:24 -04:00
parent c4b5168b45
commit 4b4a6de1d8
1 changed files with 86 additions and 78 deletions

View File

@ -43,6 +43,14 @@ void Enable(Service::Interface* self) {
ERROR_LOG(KERNEL, "(UNIMPEMENTED) APT_U::Enable called unk=0x%08X", unk);
}
void InquireNotification(Service::Interface* self) {
u32* cmd_buff = Service::GetCommandBuffer();
u32 app_id = cmd_buff[2];
cmd_buff[1] = 0; // No error
cmd_buff[3] = 0; // Signal type
ERROR_LOG(KERNEL, "(UNIMPEMENTED) APT_U::InquireNotification called app_id=0x%08X", app_id);
}
const Interface::FunctionInfo FunctionTable[] = {
{0x00010040, GetLockHandle, "GetLockHandle"},
{0x00020080, Initialize, "Initialize"},
@ -54,7 +62,7 @@ const Interface::FunctionInfo FunctionTable[] = {
{0x00080000, NULL, "CountRegisteredApplet"},
{0x00090040, NULL, "IsRegistered"},
{0x000A0040, NULL, "GetAttribute"},
{0x000B0040, NULL, "InquireNotification"},
{0x000B0040, InquireNotification, "InquireNotification"},
{0x000C0104, NULL, "SendParameter"},
{0x000D0080, NULL, "ReceiveParameter"},
{0x000E0080, NULL, "GlanceParameter"},