title import: create all title/ subdirectories

This commit is contained in:
Nadia Holmquist Pedersen
2021-12-18 02:56:27 +01:00
committed by GitHub
parent 203cf5164b
commit f39eeeb9dd

View File

@ -1020,6 +1020,8 @@ bool ImportTitle(const char* appfile, u8* tmd, bool readonly)
// folder
sprintf(fname, "0:/title/%08x", titleid0);
f_mkdir(fname);
sprintf(fname, "0:/title/%08x/%08x", titleid0, titleid1);
f_mkdir(fname);
sprintf(fname, "0:/title/%08x/%08x/content", titleid0, titleid1);