mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
Added PREPO to logging backend, Removed comments from SaveReportWithUser
This commit is contained in:
parent
27650499bc
commit
f1f7f2cba9
3 changed files with 3 additions and 13 deletions
|
@ -48,6 +48,7 @@ namespace Log {
|
||||||
SUB(Service, NS) \
|
SUB(Service, NS) \
|
||||||
SUB(Service, NVDRV) \
|
SUB(Service, NVDRV) \
|
||||||
SUB(Service, PCTL) \
|
SUB(Service, PCTL) \
|
||||||
|
SUB(Service, PREPO) \
|
||||||
SUB(Service, SET) \
|
SUB(Service, SET) \
|
||||||
SUB(Service, SM) \
|
SUB(Service, SM) \
|
||||||
SUB(Service, SPL) \
|
SUB(Service, SPL) \
|
||||||
|
|
|
@ -26,18 +26,7 @@ PlayReport::PlayReport(const char* name) : ServiceFramework(name) {
|
||||||
};
|
};
|
||||||
|
|
||||||
void PlayReport::SaveReportWithUser(Kernel::HLERequestContext& ctx) {
|
void PlayReport::SaveReportWithUser(Kernel::HLERequestContext& ctx) {
|
||||||
/*IPC::RequestParser rp{ctx};
|
// TODO(ogniK): Do we want to add play report?
|
||||||
auto Uid = rp.PopRaw<std::array<u64, 2>>();
|
|
||||||
u64 unk = rp.Pop<u64>();
|
|
||||||
std::vector<u8> buffer;
|
|
||||||
buffer.reserve(ctx.BufferDescriptorX()[0].Size());
|
|
||||||
Memory::ReadBlock(ctx.BufferDescriptorX()[0].Address(), buffer.data(), buffer.size());
|
|
||||||
|
|
||||||
std::vector<u8> buffer2;
|
|
||||||
buffer.reserve(ctx.BufferDescriptorA()[0].Size());
|
|
||||||
Memory::ReadBlock(ctx.BufferDescriptorA()[0].Address(), buffer.data(), buffer.size());*/
|
|
||||||
// TODO(ogniK): Do we want to add play report? ^ Buffers/Data required for it
|
|
||||||
|
|
||||||
LOG_WARNING(Service_PREPO, "(STUBBED) called");
|
LOG_WARNING(Service_PREPO, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
|
|
@ -106,7 +106,7 @@ void SSL::SetInterfaceVersion(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service_SSL, "(STUBBED) called");
|
LOG_WARNING(Service_SSL, "(STUBBED) called");
|
||||||
IPC::RequestParser rp{ctx};
|
IPC::RequestParser rp{ctx};
|
||||||
u32 unk1 = rp.Pop<u32>(); // Probably minor/major?
|
u32 unk1 = rp.Pop<u32>(); // Probably minor/major?
|
||||||
u32 unk2 = rp.Pop<u32>();
|
u32 unk2 = rp.Pop<u32>(); // TODO(ogniK): Figure out what this does
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
|
Loading…
Reference in a new issue