diff options
author | Subv <subv2112@gmail.com> | 2015-07-21 00:12:13 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-07-21 00:12:13 -0500 |
commit | 13f93a018881be964b8155f536d583915715101a (patch) | |
tree | 9cfb1257ce7bfa7e2d5dfd4b4a1ff70003401ed6 /src/core/hle/service/am/am_app.cpp | |
parent | cd2bb2dc698d5ce142394a22c5abff0cb89d431a (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_app.cpp')
-rw-r--r-- | src/core/hle/service/am/am_app.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/core/hle/service/am/am_app.cpp b/src/core/hle/service/am/am_app.cpp index c6fc81bc..f40a87cb 100644 --- a/src/core/hle/service/am/am_app.cpp +++ b/src/core/hle/service/am/am_app.cpp @@ -9,11 +9,19 @@ namespace Service { namespace AM { -// Empty arrays are illegal -- commented out until an entry is added. -//const Interface::FunctionInfo FunctionTable[] = { }; +const Interface::FunctionInfo FunctionTable[] = { + {0x100100C0, GetNumContentInfos, "GetNumContentInfos"}, + {0x10020104, nullptr, "FindContentInfos"}, + {0x10030142, nullptr, "ListContentInfos"}, + {0x10040102, nullptr, "DeleteContents"}, + {0x10050084, nullptr, "GetDataTitleInfos"}, + {0x10070102, nullptr, "ListDataTitleTicketInfos"}, + {0x100900C0, nullptr, "IsDataTitleInUse"}, + {0x100A0000, nullptr, "IsExternalTitleDatabaseInitialized"}, +}; AM_APP_Interface::AM_APP_Interface() { - //Register(FunctionTable); + Register(FunctionTable); } } // namespace AM |