diff options
| author | mageven <62494521+mageven@users.noreply.github.com> | 2020-05-15 11:46:46 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-15 03:16:46 -0300 |
| commit | ba4830293e4786851d743865b1232928f9873c7e (patch) | |
| tree | 235a9d8c7b428e5ea45c5d8e60a29399c9102be0 /Ryujinx.HLE/HOS/Services/Sdb/Pdm/QueryService/QueryPlayStatisticsManager.cs | |
| parent | 0ff00bd6d35390eb132eecd3ba307ba4bbfdd56d (diff) | |
Refactor out Application details from Horizon (#1236)
* Initial Application refactor
* Misc typo and access modifier fixes
* Clean unused namespaces
* Address gdkchan's comments
* Move ticket reading to common method
* Change IParentalControlService to use ApplicationLoader.ControlData
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Sdb/Pdm/QueryService/QueryPlayStatisticsManager.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Sdb/Pdm/QueryService/QueryPlayStatisticsManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Sdb/Pdm/QueryService/QueryPlayStatisticsManager.cs b/Ryujinx.HLE/HOS/Services/Sdb/Pdm/QueryService/QueryPlayStatisticsManager.cs index b2abced6..317decad 100644 --- a/Ryujinx.HLE/HOS/Services/Sdb/Pdm/QueryService/QueryPlayStatisticsManager.cs +++ b/Ryujinx.HLE/HOS/Services/Sdb/Pdm/QueryService/QueryPlayStatisticsManager.cs @@ -31,7 +31,7 @@ namespace Ryujinx.HLE.HOS.Services.Sdb.Pdm.QueryService } } - PlayLogQueryCapability queryCapability = (PlayLogQueryCapability)context.Device.System.ControlData.Value.PlayLogQueryCapability; + PlayLogQueryCapability queryCapability = (PlayLogQueryCapability)context.Device.Application.ControlData.Value.PlayLogQueryCapability; List<ulong> titleIds = new List<ulong>(); @@ -45,7 +45,7 @@ namespace Ryujinx.HLE.HOS.Services.Sdb.Pdm.QueryService // Check if input title ids are in the whitelist. foreach (ulong titleId in titleIds) { - if (!context.Device.System.ControlData.Value.PlayLogQueryableApplicationId.Contains(titleId)) + if (!context.Device.Application.ControlData.Value.PlayLogQueryableApplicationId.Contains(titleId)) { return (ResultCode)Am.ResultCode.ObjectInvalid; } |
