Merge pull request #4785 from lioncash/ios-fs

IOS FS: Move behavior to separate functions
This commit is contained in:
Mat M 2017-01-31 22:28:42 -05:00 committed by GitHub
commit 6fd0e96ea3
2 changed files with 533 additions and 508 deletions

File diff suppressed because it is too large Load Diff

View File

@ -56,7 +56,18 @@ private:
};
IPCCommandResult GetFSReply(s32 return_value) const;
s32 ExecuteCommand(const IOCtlRequest& request);
IPCCommandResult GetStats(const IOCtlRequest& request);
IPCCommandResult CreateDirectory(const IOCtlRequest& request);
IPCCommandResult SetAttribute(const IOCtlRequest& request);
IPCCommandResult GetAttribute(const IOCtlRequest& request);
IPCCommandResult DeleteFile(const IOCtlRequest& request);
IPCCommandResult RenameFile(const IOCtlRequest& request);
IPCCommandResult CreateFile(const IOCtlRequest& request);
IPCCommandResult Shutdown(const IOCtlRequest& request);
IPCCommandResult ReadDirectory(const IOCtlVRequest& request);
IPCCommandResult GetUsage(const IOCtlVRequest& request);
};
} // namespace Device
} // namespace HLE