mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Merge pull request #8146 from Techjar/netplay-network-opts
Qt/NetPlayDialog: Change network mode options to radio buttons
This commit is contained in:
commit
0177c6c2c7
5 changed files with 121 additions and 46 deletions
|
@ -1295,7 +1295,8 @@ bool MainWindow::NetPlayJoin()
|
|||
const std::string traversal_host = Config::Get(Config::NETPLAY_TRAVERSAL_SERVER);
|
||||
const u16 traversal_port = Config::Get(Config::NETPLAY_TRAVERSAL_PORT);
|
||||
const std::string nickname = Config::Get(Config::NETPLAY_NICKNAME);
|
||||
const bool host_input_authority = Config::Get(Config::NETPLAY_HOST_INPUT_AUTHORITY);
|
||||
const std::string network_mode = Config::Get(Config::NETPLAY_NETWORK_MODE);
|
||||
const bool host_input_authority = network_mode == "hostinputauthority" || network_mode == "golf";
|
||||
|
||||
if (server)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue