79abc6ed93
* 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
14 lines
No EOL
351 B
C#
14 lines
No EOL
351 B
C#
namespace Ryujinx.HLE.HOS.Services.Am
|
|
{
|
|
enum ResultCode
|
|
{
|
|
ModuleId = 128,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
NoMessages = (3 << ErrorCodeShift) | ModuleId,
|
|
ObjectInvalid = (500 << ErrorCodeShift) | ModuleId,
|
|
CpuBoostModeInvalid = (506 << ErrorCodeShift) | ModuleId
|
|
}
|
|
} |