From 13f93a018881be964b8155f536d583915715101a Mon Sep 17 00:00:00 2001 From: Subv Date: Tue, 21 Jul 2015 00:12:13 -0500 Subject: Services/AM: Stubbed am:app::GetNumContentInfos to return 0 results. Named the service functions in am:app as per 3dbrew. This fixes an illegal read loop in Steel Diver --- src/core/hle/service/am/am.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/core/hle/service/am/am.h') diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h index 063b8bd0..0b78f539 100644 --- a/src/core/hle/service/am/am.h +++ b/src/core/hle/service/am/am.h @@ -37,6 +37,19 @@ void TitleIDListGetTotal(Service::Interface* self); */ void GetTitleIDList(Service::Interface* self); +/** + * AM::GetNumContentInfos service function + * Inputs: + * 0 : Command header (0x100100C0) + * 1 : Unknown + * 2 : Unknown + * 3 : Unknown + * Outputs: + * 1 : Result, 0 on success, otherwise error code + * 2 : Number of content infos plus one + */ +void GetNumContentInfos(Service::Interface* self); + /// Initialize AM service void Init(); -- cgit v1.2.3