Added PREPO to logging backend, Removed comments from SaveReportWithUser

This commit is contained in:
David Marcec 2018-04-26 14:19:34 -07:00
parent 27650499bc
commit f1f7f2cba9
3 changed files with 3 additions and 13 deletions

View File

@ -48,6 +48,7 @@ namespace Log {
SUB(Service, NS) \
SUB(Service, NVDRV) \
SUB(Service, PCTL) \
SUB(Service, PREPO) \
SUB(Service, SET) \
SUB(Service, SM) \
SUB(Service, SPL) \

View File

@ -26,18 +26,7 @@ PlayReport::PlayReport(const char* name) : ServiceFramework(name) {
};
void PlayReport::SaveReportWithUser(Kernel::HLERequestContext& ctx) {
/*IPC::RequestParser rp{ctx};
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
// TODO(ogniK): Do we want to add play report?
LOG_WARNING(Service_PREPO, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 2};

View File

@ -106,7 +106,7 @@ void SSL::SetInterfaceVersion(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_SSL, "(STUBBED) called");
IPC::RequestParser rp{ctx};
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};
rb.Push(RESULT_SUCCESS);