aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/am/am.h
diff options
context:
space:
mode:
authorGravatar Subv <subv2112@gmail.com>2015-07-21 00:12:13 -0500
committerGravatar Subv <subv2112@gmail.com>2015-07-21 00:12:13 -0500
commit13f93a018881be964b8155f536d583915715101a (patch)
tree9cfb1257ce7bfa7e2d5dfd4b4a1ff70003401ed6 /src/core/hle/service/am/am.h
parentcd2bb2dc698d5ce142394a22c5abff0cb89d431a (diff)
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
Diffstat (limited to 'src/core/hle/service/am/am.h')
-rw-r--r--src/core/hle/service/am/am.h13
1 files changed, 13 insertions, 0 deletions
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();