mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-18 12:01:15 +01:00
4407854e9c
This adds the functionality of sending the host's save data (raw memory cards, as well as GCI files and Wii saves with a matching GameID) to all other clients. The data is compressed using LZO1X to greatly reduce its size while keeping compression/decompression fast. Save synchronization is enabled by default, and toggleable with a checkbox in the NetPlay dialog. On clicking start, if the option is enabled, game boot will be delayed until all players have received the save data sent by the host. If any player fails to receive it properly, boot will be cancelled to prevent desyncs.
16 lines
361 B
C++
16 lines
361 B
C++
// Copyright 2016 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
namespace Core
|
|
{
|
|
void InitializeWiiRoot(bool use_temporary);
|
|
void ShutdownWiiRoot();
|
|
|
|
// Initialize or clean up the filesystem contents.
|
|
void InitializeWiiFileSystemContents();
|
|
void CleanUpWiiFileSystemContents();
|
|
} // namespace Core
|