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
This commit is contained in:
Subv
2015-07-21 00:12:13 -05:00
parent cd2bb2dc69
commit 13f93a0188
3 changed files with 33 additions and 3 deletions

View File

@ -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();