WFSI: Rename a few ioctl handlers.
This commit is contained in:
parent
5ed3a3f12d
commit
aa445806a5
|
@ -187,12 +187,12 @@ IPCCommandResult WFSI::IOCtl(const IOCtlRequest& request)
|
|||
break;
|
||||
}
|
||||
|
||||
case IOCTL_WFSI_FINALIZE_PROFILE:
|
||||
case IOCTL_WFSI_FINALIZE_CONTENT:
|
||||
case IOCTL_WFSI_IMPORT_CONTENT_END:
|
||||
case IOCTL_WFSI_IMPORT_PROFILE_END:
|
||||
{
|
||||
const char* ioctl_name = request.request == IOCTL_WFSI_FINALIZE_PROFILE ?
|
||||
"IOCTL_WFSI_FINALIZE_PROFILE" :
|
||||
"IOCTL_WFSI_FINALIZE_CONTENT";
|
||||
const char* ioctl_name = request.request == IOCTL_WFSI_IMPORT_PROFILE_END ?
|
||||
"IOCTL_WFSI_IMPORT_PROFILE_END" :
|
||||
"IOCTL_WFSI_IMPORT_CONTENT_END";
|
||||
INFO_LOG(IOS_WFS, "%s", ioctl_name);
|
||||
|
||||
auto callback = [this](const std::string& filename, const std::vector<u8>& bytes) {
|
||||
|
@ -216,7 +216,7 @@ IPCCommandResult WFSI::IOCtl(const IOCtlRequest& request)
|
|||
break;
|
||||
}
|
||||
|
||||
case IOCTL_WFSI_FINALIZE_IMPORT:
|
||||
case IOCTL_WFSI_FINALIZE_TITLE_INSTALL:
|
||||
{
|
||||
// TODO(wfs): Handle patches.
|
||||
std::string title_install_dir =
|
||||
|
|
|
@ -74,9 +74,9 @@ private:
|
|||
|
||||
IOCTL_WFSI_PREPARE_CONTENT = 0x03,
|
||||
IOCTL_WFSI_IMPORT_CONTENT = 0x04,
|
||||
IOCTL_WFSI_FINALIZE_CONTENT = 0x05,
|
||||
IOCTL_WFSI_IMPORT_CONTENT_END = 0x05,
|
||||
|
||||
IOCTL_WFSI_FINALIZE_IMPORT = 0x06,
|
||||
IOCTL_WFSI_FINALIZE_TITLE_INSTALL = 0x06,
|
||||
|
||||
IOCTL_WFSI_DELETE_TITLE = 0x17,
|
||||
IOCTL_WFSI_IMPORT_TITLE = 0x2f,
|
||||
|
@ -86,7 +86,7 @@ private:
|
|||
|
||||
IOCTL_WFSI_PREPARE_PROFILE = 0x86,
|
||||
IOCTL_WFSI_IMPORT_PROFILE = 0x87,
|
||||
IOCTL_WFSI_FINALIZE_PROFILE = 0x88,
|
||||
IOCTL_WFSI_IMPORT_PROFILE_END = 0x88,
|
||||
|
||||
IOCTL_WFSI_APPLY_TITLE_PROFILE = 0x89,
|
||||
|
||||
|
|
Loading…
Reference in New Issue