From 1e98e738283ccb81303d29305188ac825ecfcba9 Mon Sep 17 00:00:00 2001 From: spholz <44805808+spholz@users.noreply.github.com> Date: Thu, 12 Aug 2021 21:32:53 +0200 Subject: configuration: add option to select network interface This commit renames the "Services" tab to "Network" and adds a combobox that allows the user to select the network interface that yuzu should use. This new setting is now used to get the local IP address in Network::GetHostIPv4Address. This prevents yuzu from selecting the wrong network interface and thus using the wrong IP address. The return type of Network::GetHostIPv4Adress has also been changed. --- src/yuzu/configuration/configure_network.ui | 143 ++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 src/yuzu/configuration/configure_network.ui (limited to 'src/yuzu/configuration/configure_network.ui') diff --git a/src/yuzu/configuration/configure_network.ui b/src/yuzu/configuration/configure_network.ui new file mode 100644 index 000000000..5f9b7e97b --- /dev/null +++ b/src/yuzu/configuration/configure_network.ui @@ -0,0 +1,143 @@ + + + ConfigureNetwork + + + + 0 + 0 + 433 + 561 + + + + Form + + + + + + + + General + + + + + + + + + Network Interface + + + + + + + + + + BCAT + + + + + + + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + true + + + + + + + + 16777215 + 16777215 + + + + BCAT Backend + + + + + + + + 260 + 16777215 + + + + BCAT is Nintendo's way of sending data to games to engage its community and unlock additional content. + + + true + + + + + + + <html><head/><body><p><a href="https://yuzu-emu.org/help/feature/boxcat"><span style=" text-decoration: underline; color:#0000ff;">Learn more about BCAT, Boxcat, and Current Events</span></a></p></body></html> + + + true + + + + + + + + + + true + + + + 260 + 16777215 + + + + + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + true + + + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + -- cgit v1.2.3