From f1f7f2cba93631c67dfd8767f69a2a23a6edcf23 Mon Sep 17 00:00:00 2001 From: David Marcec Date: Thu, 26 Apr 2018 14:19:34 -0700 Subject: Added PREPO to logging backend, Removed comments from SaveReportWithUser --- src/common/logging/backend.cpp | 1 + src/core/hle/service/prepo/prepo.cpp | 13 +------------ src/core/hle/service/ssl/ssl.cpp | 2 +- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 26cd75a3e..618be0864 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -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) \ diff --git a/src/core/hle/service/prepo/prepo.cpp b/src/core/hle/service/prepo/prepo.cpp index 02db54827..3c43b8d8c 100644 --- a/src/core/hle/service/prepo/prepo.cpp +++ b/src/core/hle/service/prepo/prepo.cpp @@ -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>(); - u64 unk = rp.Pop(); - std::vector buffer; - buffer.reserve(ctx.BufferDescriptorX()[0].Size()); - Memory::ReadBlock(ctx.BufferDescriptorX()[0].Address(), buffer.data(), buffer.size()); - - std::vector 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}; diff --git a/src/core/hle/service/ssl/ssl.cpp b/src/core/hle/service/ssl/ssl.cpp index 27d91640e..40aea6090 100644 --- a/src/core/hle/service/ssl/ssl.cpp +++ b/src/core/hle/service/ssl/ssl.cpp @@ -106,7 +106,7 @@ void SSL::SetInterfaceVersion(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service_SSL, "(STUBBED) called"); IPC::RequestParser rp{ctx}; u32 unk1 = rp.Pop(); // Probably minor/major? - u32 unk2 = rp.Pop(); + u32 unk2 = rp.Pop(); // TODO(ogniK): Figure out what this does IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); -- cgit v1.2.3