mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Netplay: Pass netplay settings via BootSessionData.
This commit is contained in:
@ -50,6 +50,7 @@ namespace fs = std::filesystem;
|
||||
#include "Core/IOS/IOS.h"
|
||||
#include "Core/IOS/IOSC.h"
|
||||
#include "Core/IOS/Uids.h"
|
||||
#include "Core/NetPlayProto.h"
|
||||
#include "Core/PatchEngine.h"
|
||||
#include "Core/PowerPC/PPCAnalyst.h"
|
||||
#include "Core/PowerPC/PPCSymbolDB.h"
|
||||
@ -176,6 +177,16 @@ void BootSessionData::SetWiiSyncData(std::unique_ptr<IOS::HLE::FS::FileSystem> f
|
||||
m_wii_sync_cleanup = std::move(cleanup);
|
||||
}
|
||||
|
||||
const NetPlay::NetSettings* BootSessionData::GetNetplaySettings() const
|
||||
{
|
||||
return m_netplay_settings.get();
|
||||
}
|
||||
|
||||
void BootSessionData::SetNetplaySettings(std::unique_ptr<NetPlay::NetSettings> netplay_settings)
|
||||
{
|
||||
m_netplay_settings = std::move(netplay_settings);
|
||||
}
|
||||
|
||||
BootParameters::BootParameters(Parameters&& parameters_, BootSessionData boot_session_data_)
|
||||
: parameters(std::move(parameters_)), boot_session_data(std::move(boot_session_data_))
|
||||
{
|
||||
|
Reference in New Issue
Block a user