Stub GetAddOnContentListChangedEventWithProcessId

This commit is contained in:
Dima 2022-11-12 13:16:50 +03:00 committed by Billy Laws
parent 3d475ca122
commit 360306eb61
2 changed files with 19 additions and 1 deletions

View File

@ -26,4 +26,16 @@ namespace skyline::service::aocsrv {
response.copyHandles.push_back(handle); response.copyHandles.push_back(handle);
return {}; return {};
} }
Result IAddOnContentManager::GetAddOnContentListChangedEventWithProcessId(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
KHandle handle{state.process->InsertItem(addOnContentListChangedEvent)};
Logger::Debug("Add On Content List Changed Event Handle: 0x{:X}", handle);
response.copyHandles.push_back(handle);
return {};
}
Result IAddOnContentManager::CheckAddOnContentMountStatus(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
return {};
}
} }

View File

@ -24,10 +24,16 @@ namespace skyline::service::aocsrv {
Result GetAddOnContentListChangedEvent(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); Result GetAddOnContentListChangedEvent(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
Result GetAddOnContentListChangedEventWithProcessId(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
Result CheckAddOnContentMountStatus(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
SERVICE_DECL( SERVICE_DECL(
SFUNC(0x2, IAddOnContentManager, CountAddOnContent), SFUNC(0x2, IAddOnContentManager, CountAddOnContent),
SFUNC(0x3, IAddOnContentManager, ListAddOnContent), SFUNC(0x3, IAddOnContentManager, ListAddOnContent),
SFUNC(0x8, IAddOnContentManager, GetAddOnContentListChangedEvent) SFUNC(0x8, IAddOnContentManager, GetAddOnContentListChangedEvent),
SFUNC(0xA, IAddOnContentManager, GetAddOnContentListChangedEventWithProcessId),
SFUNC(0x32, IAddOnContentManager, CheckAddOnContentMountStatus)
) )
}; };
} }