Compare commits
1 commit
0f15714b45
...
b878b72481
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b878b72481 |
2 changed files with 1 additions and 21 deletions
|
@ -1,6 +1,3 @@
|
||||||
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
@ -32,7 +29,7 @@ IQueryService::IQueryService(Core::System& system_) : ServiceFramework{system_,
|
||||||
{14, nullptr, "QueryRecentlyPlayedApplication"},
|
{14, nullptr, "QueryRecentlyPlayedApplication"},
|
||||||
{15, nullptr, "GetRecentlyPlayedApplicationUpdateEvent"},
|
{15, nullptr, "GetRecentlyPlayedApplicationUpdateEvent"},
|
||||||
{16, nullptr, "QueryApplicationPlayStatisticsByUserAccountIdForSystemV0"},
|
{16, nullptr, "QueryApplicationPlayStatisticsByUserAccountIdForSystemV0"},
|
||||||
{17, D<&IQueryService::QueryLastPlayTime>, "QueryLastPlayTime"},
|
{17, nullptr, "QueryLastPlayTime"},
|
||||||
{18, nullptr, "QueryApplicationPlayStatisticsForSystem"},
|
{18, nullptr, "QueryApplicationPlayStatisticsForSystem"},
|
||||||
{19, nullptr, "QueryApplicationPlayStatisticsByUserAccountIdForSystem"},
|
{19, nullptr, "QueryApplicationPlayStatisticsByUserAccountIdForSystem"},
|
||||||
};
|
};
|
||||||
|
@ -56,13 +53,4 @@ Result IQueryService::QueryPlayStatisticsByApplicationIdAndUserAccountId(
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
Result IQueryService::QueryLastPlayTime(
|
|
||||||
Out<s32> out_entries, u8 unknown,
|
|
||||||
OutArray<LastPlayTime, BufferAttr_HipcMapAlias> out_last_play_times,
|
|
||||||
InArray<s32, BufferAttr_HipcMapAlias> application_ids) {
|
|
||||||
*out_entries = 1;
|
|
||||||
*out_last_play_times = {};
|
|
||||||
R_SUCCEED();
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace Service::NS
|
} // namespace Service::NS
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
@ -26,8 +23,6 @@ struct PlayStatistics {
|
||||||
};
|
};
|
||||||
static_assert(sizeof(PlayStatistics) == 0x28, "PlayStatistics is an invalid size");
|
static_assert(sizeof(PlayStatistics) == 0x28, "PlayStatistics is an invalid size");
|
||||||
|
|
||||||
struct LastPlayTime {};
|
|
||||||
|
|
||||||
class IQueryService final : public ServiceFramework<IQueryService> {
|
class IQueryService final : public ServiceFramework<IQueryService> {
|
||||||
public:
|
public:
|
||||||
explicit IQueryService(Core::System& system_);
|
explicit IQueryService(Core::System& system_);
|
||||||
|
@ -36,9 +31,6 @@ public:
|
||||||
private:
|
private:
|
||||||
Result QueryPlayStatisticsByApplicationIdAndUserAccountId(
|
Result QueryPlayStatisticsByApplicationIdAndUserAccountId(
|
||||||
Out<PlayStatistics> out_play_statistics, bool unknown, u64 application_id, Uid account_id);
|
Out<PlayStatistics> out_play_statistics, bool unknown, u64 application_id, Uid account_id);
|
||||||
Result QueryLastPlayTime(Out<s32> out_entries, u8 unknown,
|
|
||||||
OutArray<LastPlayTime, BufferAttr_HipcMapAlias> out_last_play_times,
|
|
||||||
InArray<s32, BufferAttr_HipcMapAlias> application_ids);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Service::NS
|
} // namespace Service::NS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue