mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
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:
@ -77,13 +77,13 @@ void InitializeWiiRoot(bool use_temporary)
|
|||||||
// Generate a SYSCONF with default settings for the temporary Wii NAND.
|
// Generate a SYSCONF with default settings for the temporary Wii NAND.
|
||||||
SysConf sysconf{Common::FromWhichRoot::FROM_SESSION_ROOT};
|
SysConf sysconf{Common::FromWhichRoot::FROM_SESSION_ROOT};
|
||||||
sysconf.Save();
|
sysconf.Save();
|
||||||
|
|
||||||
|
InitializeDeterministicWiiSaves();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
File::SetUserPath(D_SESSION_WIIROOT_IDX, File::GetUserPath(D_WIIROOT_IDX));
|
File::SetUserPath(D_SESSION_WIIROOT_IDX, File::GetUserPath(D_WIIROOT_IDX));
|
||||||
}
|
}
|
||||||
|
|
||||||
InitializeDeterministicWiiSaves();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ShutdownWiiRoot()
|
void ShutdownWiiRoot()
|
||||||
|
Reference in New Issue
Block a user