|
@@ -115,11 +115,12 @@ private:
|
|
|
|
|
|
|
|
void Read(Kernel::HLERequestContext& ctx) {
|
|
void Read(Kernel::HLERequestContext& ctx) {
|
|
|
IPC::RequestParser rp{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 offset = rp.Pop<s64>();
|
|
|
const s64 length = 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
|
|
// Error checking
|
|
|
if (length < 0) {
|
|
if (length < 0) {
|
|
@@ -148,11 +149,12 @@ private:
|
|
|
|
|
|
|
|
void Write(Kernel::HLERequestContext& ctx) {
|
|
void Write(Kernel::HLERequestContext& ctx) {
|
|
|
IPC::RequestParser rp{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 offset = rp.Pop<s64>();
|
|
|
const s64 length = 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
|
|
// Error checking
|
|
|
if (length < 0) {
|
|
if (length < 0) {
|