summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/filesystem
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-10 19:01:48 +0200
committerLioncash <mathew1800@gmail.com>2019-04-10 19:01:52 +0200
commitfc436bb09bc65ce2fc9fb6a649c73f2ad365cec6 (patch)
treee49b89d1cd99385c95941ce145985de2957d0ce0 /src/core/hle/service/filesystem
parentMerge pull request #2354 from lioncash/header (diff)
downloadyuzu-fc436bb09bc65ce2fc9fb6a649c73f2ad365cec6.tar
yuzu-fc436bb09bc65ce2fc9fb6a649c73f2ad365cec6.tar.gz
yuzu-fc436bb09bc65ce2fc9fb6a649c73f2ad365cec6.tar.bz2
yuzu-fc436bb09bc65ce2fc9fb6a649c73f2ad365cec6.tar.lz
yuzu-fc436bb09bc65ce2fc9fb6a649c73f2ad365cec6.tar.xz
yuzu-fc436bb09bc65ce2fc9fb6a649c73f2ad365cec6.tar.zst
yuzu-fc436bb09bc65ce2fc9fb6a649c73f2ad365cec6.zip
Diffstat (limited to 'src/core/hle/service/filesystem')
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index 657baddb8..b6eefb7e0 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) {