mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 13:43:33 +01:00
Core: Fix starting movie recording with existing Wii save
A change made in 0d095b4 didn't take into account that the movie system doesn't set sync_titles.
This commit is contained in:
parent
6b545eaada
commit
9e7409e71e
@ -153,10 +153,18 @@ static void InitializeDeterministicWiiSaves(FS::FileSystem* session_fs,
|
||||
{
|
||||
INFO_LOG_FMT(CORE, "Wii Save Init: Copying from sync_fs to session_fs.");
|
||||
|
||||
for (const u64 title : sync_titles)
|
||||
if (Movie::IsMovieActive() && !NetPlay::IsNetPlayRunning())
|
||||
{
|
||||
INFO_LOG_FMT(CORE, "Wii Save Init: Copying {0:016x}.", title);
|
||||
CopySave(sync_fs, session_fs, title);
|
||||
INFO_LOG_FMT(CORE, "Wii Save Init: Copying {0:016x}.", title_id);
|
||||
CopySave(sync_fs, session_fs, title_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
for (const u64 title : sync_titles)
|
||||
{
|
||||
INFO_LOG_FMT(CORE, "Wii Save Init: Copying {0:016x}.", title);
|
||||
CopySave(sync_fs, session_fs, title);
|
||||
}
|
||||
}
|
||||
|
||||
// Copy Mii data
|
||||
@ -170,10 +178,18 @@ static void InitializeDeterministicWiiSaves(FS::FileSystem* session_fs,
|
||||
{
|
||||
INFO_LOG_FMT(CORE, "Wii Save Init: Copying from configured_fs to session_fs.");
|
||||
|
||||
for (const u64 title : sync_titles)
|
||||
if (Movie::IsMovieActive() && !NetPlay::IsNetPlayRunning())
|
||||
{
|
||||
INFO_LOG_FMT(CORE, "Wii Save Init: Copying {0:016x}.", title);
|
||||
CopySave(configured_fs.get(), session_fs, title);
|
||||
INFO_LOG_FMT(CORE, "Wii Save Init: Copying {0:016x}.", title_id);
|
||||
CopySave(configured_fs.get(), session_fs, title_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
for (const u64 title : sync_titles)
|
||||
{
|
||||
INFO_LOG_FMT(CORE, "Wii Save Init: Copying {0:016x}.", title);
|
||||
CopySave(configured_fs.get(), session_fs, title);
|
||||
}
|
||||
}
|
||||
|
||||
// Copy Mii data
|
||||
|
Loading…
x
Reference in New Issue
Block a user