mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-21 03:41:41 +00:00
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
12 lines
No EOL
335 B
C#
12 lines
No EOL
335 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Sdb.Pdm.QueryService.Types
|
|
{
|
|
[StructLayout(LayoutKind.Sequential, Size = 0x18)]
|
|
struct ApplicationPlayStatistics
|
|
{
|
|
public ulong TitleId;
|
|
public long TotalPlayTime; // In nanoseconds.
|
|
public long TotalLaunchCount;
|
|
}
|
|
} |