WFSI: Create meta/work/save dirs when applying title profile.

This commit is contained in:
Pierre Bourdon committed 2017-08-22 23:13:14 +02:00
1 parent c0b3a68441
commit ef3232cd74
1 file changed
+7
+7
View File
@@ -247,6 +247,13 @@ IPCCommandResult WFSI::IOCtl(const IOCtlRequest& request)
m_title_id_str.c_str());
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;
case IOCTL_WFSI_GET_TMD: