Implement IApplicationFunctions & IQueryService commands (#823)
* Implement IApplicationFunctions & IQueryService commands - Fix some nits in `IApplicationFunctions` - Implement `QueryApplicationPlayStatistics` and `QueryApplicationPlayStatisticsByUid` checked by RE. - Implement `QueryApplicationPlayStatisticsForSystem` and `QueryApplicationPlayStatisticsByUserAccountIdForSystem` checked by RE. - Implement `QueryPlayStatisticsManager` to get/set played games statistics. We currently don't store any statistics because it's handled by qlaunch (or maybe am service?) on Switch. We can add support later if games use returned statistics for something. * Fix reviews
This commit is contained in:
parent
b9ae0b09d9
commit
79abc6ed93
7 changed files with 162 additions and 12 deletions
13
Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs
Normal file
13
Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
namespace Ryujinx.HLE.HOS.Services.Sdb.Pdm
|
||||
{
|
||||
enum ResultCode
|
||||
{
|
||||
ModuleId = 178,
|
||||
ErrorCodeShift = 9,
|
||||
|
||||
Success = 0,
|
||||
|
||||
UserNotFound = (101 << ErrorCodeShift) | ModuleId,
|
||||
ServiceUnavailable = (150 << ErrorCodeShift) | ModuleId
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue