From 1c08439907753a86ee1628f07d5fcbe86bfdda2f Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Sat, 31 Jan 2026 06:26:24 +0100 Subject: [PATCH] Force disable RPCN IPv6 support for now --- rpcs3/Emu/NP/rpcn_config.h | 2 +- rpcs3/rpcs3qt/rpcn_settings_dialog.cpp | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/rpcs3/Emu/NP/rpcn_config.h b/rpcs3/Emu/NP/rpcn_config.h index 0a8c7c9cc5..3ea6b707b1 100644 --- a/rpcs3/Emu/NP/rpcn_config.h +++ b/rpcs3/Emu/NP/rpcn_config.h @@ -10,7 +10,7 @@ struct cfg_rpcn : cfg::node cfg::string password{this, "Password", ""}; cfg::string token{this, "Token", ""}; cfg::string hosts{this, "Hosts", "Official RPCN Server|np.rpcs3.net"}; - cfg::_bool ipv6_support{this, "IPv6 support", true}; + cfg::_bool ipv6_support{this, "Experimental IPv6 support", false}; void load(); void save() const; diff --git a/rpcs3/rpcs3qt/rpcn_settings_dialog.cpp b/rpcs3/rpcs3qt/rpcn_settings_dialog.cpp index 24aa0767aa..53097f29fc 100644 --- a/rpcs3/rpcs3qt/rpcn_settings_dialog.cpp +++ b/rpcs3/rpcs3qt/rpcn_settings_dialog.cpp @@ -185,8 +185,8 @@ rpcn_account_dialog::rpcn_account_dialog(QWidget* parent) QPushButton* btn_test = new QPushButton(tr("Test Account")); QLabel* label_npid = new QLabel(); - QCheckBox* checkbox_disable_ipv6 = new QCheckBox(tr("Disable IPv6")); - checkbox_disable_ipv6->setCheckState(g_cfg_rpcn.get_ipv6_support() ? Qt::Unchecked : Qt::Checked); + // QCheckBox* checkbox_disable_ipv6 = new QCheckBox(tr("Enable IPv6(Experimental)")); + // checkbox_disable_ipv6->setCheckState(g_cfg_rpcn.get_ipv6_support() ? Qt::Checked : Qt::Unchecked); const auto update_npid_label = [label_npid]() { @@ -206,7 +206,7 @@ rpcn_account_dialog::rpcn_account_dialog(QWidget* parent) grp_buttons->setLayout(vbox_buttons); vbox_global->addWidget(grp_buttons); - vbox_global->addWidget(checkbox_disable_ipv6); + // vbox_global->addWidget(checkbox_disable_ipv6); setLayout(vbox_global); @@ -359,11 +359,11 @@ rpcn_account_dialog::rpcn_account_dialog(QWidget* parent) QMessageBox::information(this, tr("RPCN Account Valid!"), tr("Your account is valid!"), QMessageBox::Ok); }); - connect(checkbox_disable_ipv6, &QCheckBox::checkStateChanged, this, [this](Qt::CheckState state) - { - g_cfg_rpcn.set_ipv6_support(state == Qt::Unchecked); - g_cfg_rpcn.save(); - }); + // connect(checkbox_disable_ipv6, &QCheckBox::checkStateChanged, this, [this](Qt::CheckState state) + // { + // g_cfg_rpcn.set_ipv6_support(state == Qt::Checked); + // g_cfg_rpcn.save(); + // }); } void rpcn_account_dialog::refresh_combobox()