mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Turn Config::Info into a class with getters
This commit is contained in:
parent
11e8783893
commit
b285991b88
12 changed files with 62 additions and 53 deletions
|
@ -50,7 +50,7 @@ void HandleDiscordJoin(const char* join_secret)
|
|||
if (event_handler == nullptr)
|
||||
return;
|
||||
|
||||
if (Config::Get(Config::NETPLAY_NICKNAME) == Config::NETPLAY_NICKNAME.default_value)
|
||||
if (Config::Get(Config::NETPLAY_NICKNAME) == Config::NETPLAY_NICKNAME.GetDefaultValue())
|
||||
Config::SetCurrent(Config::NETPLAY_NICKNAME, username);
|
||||
|
||||
std::string secret(join_secret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue