Skip to content

Commit 1c08439

Browse files
RipleyTomelad335
authored andcommitted
Force disable RPCN IPv6 support for now
1 parent 96cf5c4 commit 1c08439

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

rpcs3/Emu/NP/rpcn_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct cfg_rpcn : cfg::node
1010
cfg::string password{this, "Password", ""};
1111
cfg::string token{this, "Token", ""};
1212
cfg::string hosts{this, "Hosts", "Official RPCN Server|np.rpcs3.net"};
13-
cfg::_bool ipv6_support{this, "IPv6 support", true};
13+
cfg::_bool ipv6_support{this, "Experimental IPv6 support", false};
1414

1515
void load();
1616
void save() const;

rpcs3/rpcs3qt/rpcn_settings_dialog.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ rpcn_account_dialog::rpcn_account_dialog(QWidget* parent)
185185
QPushButton* btn_test = new QPushButton(tr("Test Account"));
186186
QLabel* label_npid = new QLabel();
187187

188-
QCheckBox* checkbox_disable_ipv6 = new QCheckBox(tr("Disable IPv6"));
189-
checkbox_disable_ipv6->setCheckState(g_cfg_rpcn.get_ipv6_support() ? Qt::Unchecked : Qt::Checked);
188+
// QCheckBox* checkbox_disable_ipv6 = new QCheckBox(tr("Enable IPv6(Experimental)"));
189+
// checkbox_disable_ipv6->setCheckState(g_cfg_rpcn.get_ipv6_support() ? Qt::Checked : Qt::Unchecked);
190190

191191
const auto update_npid_label = [label_npid]()
192192
{
@@ -206,7 +206,7 @@ rpcn_account_dialog::rpcn_account_dialog(QWidget* parent)
206206
grp_buttons->setLayout(vbox_buttons);
207207

208208
vbox_global->addWidget(grp_buttons);
209-
vbox_global->addWidget(checkbox_disable_ipv6);
209+
// vbox_global->addWidget(checkbox_disable_ipv6);
210210

211211
setLayout(vbox_global);
212212

@@ -359,11 +359,11 @@ rpcn_account_dialog::rpcn_account_dialog(QWidget* parent)
359359
QMessageBox::information(this, tr("RPCN Account Valid!"), tr("Your account is valid!"), QMessageBox::Ok);
360360
});
361361

362-
connect(checkbox_disable_ipv6, &QCheckBox::checkStateChanged, this, [this](Qt::CheckState state)
363-
{
364-
g_cfg_rpcn.set_ipv6_support(state == Qt::Unchecked);
365-
g_cfg_rpcn.save();
366-
});
362+
// connect(checkbox_disable_ipv6, &QCheckBox::checkStateChanged, this, [this](Qt::CheckState state)
363+
// {
364+
// g_cfg_rpcn.set_ipv6_support(state == Qt::Checked);
365+
// g_cfg_rpcn.save();
366+
// });
367367
}
368368

369369
void rpcn_account_dialog::refresh_combobox()

0 commit comments

Comments
 (0)