Procházet zdrojové kódy

Added PREPO to logging backend, Removed comments from SaveReportWithUser

David Marcec před 8 roky
rodič
revize
f1f7f2cba9

+ 1 - 0
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)                                                                              \

+ 1 - 12
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<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};

+ 1 - 1
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<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);