WFSI: Create meta/work/save dirs when applying title profile.
This commit is contained in:
parent
c0b3a68441
commit
ef3232cd74
|
@ -247,6 +247,13 @@ IPCCommandResult WFSI::IOCtl(const IOCtlRequest& request)
|
||||||
m_title_id_str.c_str());
|
m_title_id_str.c_str());
|
||||||
File::CreateFullPath(WFS::NativePath(m_base_extract_path));
|
File::CreateFullPath(WFS::NativePath(m_base_extract_path));
|
||||||
|
|
||||||
|
for (auto dir : {"work", "meta", "save"})
|
||||||
|
{
|
||||||
|
std::string path = StringFromFormat("/vol/%s/_install/%s/%s", m_device_name.c_str(),
|
||||||
|
m_title_id_str.c_str(), dir);
|
||||||
|
File::CreateFullPath(WFS::NativePath(path));
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case IOCTL_WFSI_GET_TMD:
|
case IOCTL_WFSI_GET_TMD:
|
||||||
|
|
Loading…
Reference in New Issue