Copy Wii NAND data to user NAND in WiiRoot
Dolphin doesn't use any of the WC24 files, so this can be done when actually starting emulation in WiiRoot. The benefit of moving the copy is that we don't need to handle temporary NANDs in a special way.
This commit is contained in:
parent
5f567b38fe
commit
94dc746351
|
@ -81,11 +81,11 @@ void ShutdownWiiRoot()
|
|||
|
||||
void InitializeWiiFileSystemContents()
|
||||
{
|
||||
File::CopyDir(File::GetSysDirectory() + WII_USER_DIR, File::GetUserPath(D_SESSION_WIIROOT_IDX));
|
||||
|
||||
if (s_temp_wii_root.empty())
|
||||
return;
|
||||
|
||||
File::CopyDir(File::GetSysDirectory() + WII_USER_DIR, s_temp_wii_root);
|
||||
|
||||
// Generate a SYSCONF with default settings for the temporary Wii NAND.
|
||||
SysConf sysconf{IOS::HLE::GetIOS()->GetFS()};
|
||||
sysconf.Save();
|
||||
|
|
|
@ -130,9 +130,6 @@ void SetLocale(std::string locale_name)
|
|||
|
||||
void CreateDirectories()
|
||||
{
|
||||
// Copy initial Wii NAND data from Sys to User.
|
||||
File::CopyDir(File::GetSysDirectory() + WII_USER_DIR, File::GetUserPath(D_WIIROOT_IDX));
|
||||
|
||||
File::CreateFullPath(File::GetUserPath(D_USER_IDX));
|
||||
File::CreateFullPath(File::GetUserPath(D_CACHE_IDX));
|
||||
File::CreateFullPath(File::GetUserPath(D_CONFIG_IDX));
|
||||
|
|
Loading…
Reference in New Issue