mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01: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
@ -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…
x
Reference in New Issue
Block a user