diff options
| author | 2019-04-10 13:04:05 -0400 | |
|---|---|---|
| committer | 2019-04-10 13:04:08 -0400 | |
| commit | 86768320644ef7715ef14c655dd700a8e1dd95f9 (patch) | |
| tree | f5070d7a34c26e9b96b3667c473a86efee790fa1 | |
| parent | fsp_srv: Log out option values in IFile's Read and Write functions (diff) | |
| download | yuzu-86768320644ef7715ef14c655dd700a8e1dd95f9.tar.gz yuzu-86768320644ef7715ef14c655dd700a8e1dd95f9.tar.xz yuzu-86768320644ef7715ef14c655dd700a8e1dd95f9.zip | |
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.
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp index b6eefb7e0..0249b6992 100644 --- a/src/core/hle/service/filesystem/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp_srv.cpp | |||
| @@ -252,10 +252,7 @@ private: | |||
| 252 | u64 next_entry_index = 0; | 252 | u64 next_entry_index = 0; |
| 253 | 253 | ||
| 254 | void Read(Kernel::HLERequestContext& ctx) { | 254 | void Read(Kernel::HLERequestContext& ctx) { |
| 255 | IPC::RequestParser rp{ctx}; | 255 | LOG_DEBUG(Service_FS, "called."); |
| 256 | const u64 unk = rp.Pop<u64>(); | ||
| 257 | |||
| 258 | LOG_DEBUG(Service_FS, "called, unk=0x{:X}", unk); | ||
| 259 | 256 | ||
| 260 | // Calculate how many entries we can fit in the output buffer | 257 | // Calculate how many entries we can fit in the output buffer |
| 261 | const u64 count_entries = ctx.GetWriteBufferSize() / sizeof(FileSys::Entry); | 258 | const u64 count_entries = ctx.GetWriteBufferSize() / sizeof(FileSys::Entry); |