diff options
| author | 2018-04-26 14:19:34 -0700 | |
|---|---|---|
| committer | 2018-04-26 14:19:34 -0700 | |
| commit | f1f7f2cba93631c67dfd8767f69a2a23a6edcf23 (patch) | |
| tree | 18b01330f52b144f30ab67c531b1a5dd5e13e1d3 | |
| parent | GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport... (diff) | |
| download | yuzu-f1f7f2cba93631c67dfd8767f69a2a23a6edcf23.tar.gz yuzu-f1f7f2cba93631c67dfd8767f69a2a23a6edcf23.tar.xz yuzu-f1f7f2cba93631c67dfd8767f69a2a23a6edcf23.zip | |
Added PREPO to logging backend, Removed comments from SaveReportWithUser
| -rw-r--r-- | src/common/logging/backend.cpp | 1 | ||||
| -rw-r--r-- | src/core/hle/service/prepo/prepo.cpp | 13 | ||||
| -rw-r--r-- | 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 { | |||
| 48 | SUB(Service, NS) \ | 48 | SUB(Service, NS) \ |
| 49 | SUB(Service, NVDRV) \ | 49 | SUB(Service, NVDRV) \ |
| 50 | SUB(Service, PCTL) \ | 50 | SUB(Service, PCTL) \ |
| 51 | SUB(Service, PREPO) \ | ||
| 51 | SUB(Service, SET) \ | 52 | SUB(Service, SET) \ |
| 52 | SUB(Service, SM) \ | 53 | SUB(Service, SM) \ |
| 53 | SUB(Service, SPL) \ | 54 | 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) { | |||
| 26 | }; | 26 | }; |
| 27 | 27 | ||
| 28 | void PlayReport::SaveReportWithUser(Kernel::HLERequestContext& ctx) { | 28 | void PlayReport::SaveReportWithUser(Kernel::HLERequestContext& ctx) { |
| 29 | /*IPC::RequestParser rp{ctx}; | 29 | // TODO(ogniK): Do we want to add play report? |
| 30 | auto Uid = rp.PopRaw<std::array<u64, 2>>(); | ||
| 31 | u64 unk = rp.Pop<u64>(); | ||
| 32 | std::vector<u8> buffer; | ||
| 33 | buffer.reserve(ctx.BufferDescriptorX()[0].Size()); | ||
| 34 | Memory::ReadBlock(ctx.BufferDescriptorX()[0].Address(), buffer.data(), buffer.size()); | ||
| 35 | |||
| 36 | std::vector<u8> buffer2; | ||
| 37 | buffer.reserve(ctx.BufferDescriptorA()[0].Size()); | ||
| 38 | Memory::ReadBlock(ctx.BufferDescriptorA()[0].Address(), buffer.data(), buffer.size());*/ | ||
| 39 | // TODO(ogniK): Do we want to add play report? ^ Buffers/Data required for it | ||
| 40 | |||
| 41 | LOG_WARNING(Service_PREPO, "(STUBBED) called"); | 30 | LOG_WARNING(Service_PREPO, "(STUBBED) called"); |
| 42 | 31 | ||
| 43 | IPC::ResponseBuilder rb{ctx, 2}; | 32 | 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) { | |||
| 106 | LOG_WARNING(Service_SSL, "(STUBBED) called"); | 106 | LOG_WARNING(Service_SSL, "(STUBBED) called"); |
| 107 | IPC::RequestParser rp{ctx}; | 107 | IPC::RequestParser rp{ctx}; |
| 108 | u32 unk1 = rp.Pop<u32>(); // Probably minor/major? | 108 | u32 unk1 = rp.Pop<u32>(); // Probably minor/major? |
| 109 | u32 unk2 = rp.Pop<u32>(); | 109 | u32 unk2 = rp.Pop<u32>(); // TODO(ogniK): Figure out what this does |
| 110 | 110 | ||
| 111 | IPC::ResponseBuilder rb{ctx, 2}; | 111 | IPC::ResponseBuilder rb{ctx, 2}; |
| 112 | rb.Push(RESULT_SUCCESS); | 112 | rb.Push(RESULT_SUCCESS); |