mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ static bool CopySysmenuFilesToFS(FS::FileSystem* fs, const std::string& host_sou
|
|||
|
||||
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))
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue