summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-04-14 04:09:58 +0200
committerGitHub <noreply@github.com>2019-04-14 04:09:58 +0200
commita788c861bdd2b9622a73c511c5b626ee65f613a4 (patch)
treea1ebbd99b34b97b07ea5eaa08466ee0311a92361 /src/core/hle
parentMerge pull request #2386 from ReinUsesLisp/shader-manager (diff)
parentfsp_srv: Remove unnecessary parameter popping in IDirectory's Read() (diff)
downloadyuzu-a788c861bdd2b9622a73c511c5b626ee65f613a4.tar
yuzu-a788c861bdd2b9622a73c511c5b626ee65f613a4.tar.gz
yuzu-a788c861bdd2b9622a73c511c5b626ee65f613a4.tar.bz2
yuzu-a788c861bdd2b9622a73c511c5b626ee65f613a4.tar.lz
yuzu-a788c861bdd2b9622a73c511c5b626ee65f613a4.tar.xz
yuzu-a788c861bdd2b9622a73c511c5b626ee65f613a4.tar.zst
yuzu-a788c861bdd2b9622a73c511c5b626ee65f613a4.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index 657baddb8..0249b6992 100644
--- a/src/core/hle/service/filesystem/fsp_srv.cpp
+++ b/src/core/hle/service/filesystem/fsp_srv.cpp
@@ -115,11 +115,12 @@ private:
void Read(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
- const u64 unk = rp.Pop<u64>();
+ const u64 option = rp.Pop<u64>();
const s64 offset = rp.Pop<s64>();
const s64 length = rp.Pop<s64>();
- LOG_DEBUG(Service_FS, "called, offset=0x{:X}, length={}", offset, length);
+ LOG_DEBUG(Service_FS, "called, option={}, offset=0x{:X}, length={}", option, offset,
+ length);
// Error checking
if (length < 0) {
@@ -148,11 +149,12 @@ private:
void Write(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
- const u64 unk = rp.Pop<u64>();
+ const u64 option = rp.Pop<u64>();
const s64 offset = rp.Pop<s64>();
const s64 length = rp.Pop<s64>();
- LOG_DEBUG(Service_FS, "called, offset=0x{:X}, length={}", offset, length);
+ LOG_DEBUG(Service_FS, "called, option={}, offset=0x{:X}, length={}", option, offset,
+ length);
// Error checking
if (length < 0) {
@@ -250,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);