Преглед изворни кода

fsp_srv: Remove unnecessary parameter popping in IDirectory's Read()

IDirectory's Read() function doesn't take any input parameters. It only
uses the output parameters that we already provide.
Lioncash пре 7 година
родитељ
комит
8676832064
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      src/core/hle/service/filesystem/fsp_srv.cpp

+ 1 - 4
src/core/hle/service/filesystem/fsp_srv.cpp

@@ -252,10 +252,7 @@ private:
     u64 next_entry_index = 0;
 
     void Read(Kernel::HLERequestContext& ctx) {
-        IPC::RequestParser rp{ctx};
-        const u64 unk = rp.Pop<u64>();
-
-        LOG_DEBUG(Service_FS, "called, unk=0x{:X}", unk);
+        LOG_DEBUG(Service_FS, "called.");
 
         // Calculate how many entries we can fit in the output buffer
         const u64 count_entries = ctx.GetWriteBufferSize() / sizeof(FileSys::Entry);