mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 02:29:59 -06:00
VideoConfig: Eliminate NetPlay related members.
This commit is contained in:
@ -37,6 +37,7 @@
|
||||
|
||||
#include "Core/ActionReplay.h"
|
||||
#include "Core/Boot/Boot.h"
|
||||
#include "Core/Config/GraphicsSettings.h"
|
||||
#include "Core/Config/MainSettings.h"
|
||||
#include "Core/Config/NetplaySettings.h"
|
||||
#include "Core/Config/SessionSettings.h"
|
||||
@ -1530,7 +1531,7 @@ void NetPlayClient::Send(const sf::Packet& packet, const u8 channel_id)
|
||||
|
||||
void NetPlayClient::DisplayPlayersPing()
|
||||
{
|
||||
if (!g_ActiveConfig.bShowNetPlayPing)
|
||||
if (!Config::Get(Config::GFX_SHOW_NETPLAY_PING))
|
||||
return;
|
||||
|
||||
OSD::AddTypedMessage(OSD::MessageType::NetPlayPing, fmt::format("Ping: {}", GetPlayersMaxPing()),
|
||||
|
Reference in New Issue
Block a user