IOS FS: Move behavior to separate functions

This commit is contained in:
Lioncash 2017-01-29 17:45:43 -05:00
parent 9fc5f4ad23
commit d2da1897e7
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