WiiRoot: Fix CopySysmenuFilesToFS directory creation
Fixes a regression from #8539. CreateDirectory was the correct function to use for creating directories since parent directories already exist and are not owned by the system menu.
This commit is contained in:
parent
57f4837e4d
commit
f1f293bd49
|
@ -188,7 +188,7 @@ static bool CopySysmenuFilesToFS(FS::FileSystem* fs, const std::string& host_sou
|
||||||
|
|
||||||
if (entry.isDirectory)
|
if (entry.isDirectory)
|
||||||
{
|
{
|
||||||
fs->CreateFullPath(IOS::SYSMENU_UID, IOS::SYSMENU_GID, nand_path + '/', 0, public_modes);
|
fs->CreateDirectory(IOS::SYSMENU_UID, IOS::SYSMENU_GID, nand_path, 0, public_modes);
|
||||||
if (!CopySysmenuFilesToFS(fs, host_path, nand_path))
|
if (!CopySysmenuFilesToFS(fs, host_path, nand_path))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue