WiiRoot: Only call InitializeDeterministicWiiSaves on temporary NAND

Shouldn't make any difference in practice because
both IsRecordingInput and IsNetPlayRunning should
be false if a temporary NAND isn't being set up,
but doing it this way is cleaner regardless.
This commit is contained in:
JosJuice 2017-02-08 14:26:25 +01:00
parent 99492c22a6
commit 14bb81716c
1 changed files with 2 additions and 2 deletions

View File

@ -77,13 +77,13 @@ void InitializeWiiRoot(bool use_temporary)
// Generate a SYSCONF with default settings for the temporary Wii NAND.
SysConf sysconf{Common::FromWhichRoot::FROM_SESSION_ROOT};
sysconf.Save();
InitializeDeterministicWiiSaves();
}
else
{
File::SetUserPath(D_SESSION_WIIROOT_IDX, File::GetUserPath(D_WIIROOT_IDX));
}
InitializeDeterministicWiiSaves();
}
void ShutdownWiiRoot()