mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-08 20:00:04 +00:00
Use port 5543 by default for Artic Base connections
This commit is contained in:
parent
71eca05af1
commit
41ff780c6f
2 changed files with 4 additions and 0 deletions
|
@ -102,6 +102,8 @@ class HomeSettingsFragment : Fragment() {
|
|||
.setTitle(getString(R.string.artic_base_enter_address))
|
||||
.setPositiveButton(android.R.string.ok) { _, _ ->
|
||||
if (textInputValue.isNotEmpty()) {
|
||||
if (!textInputValue.contains(":"))
|
||||
textInputValue += ":5543"
|
||||
val menu = Game(
|
||||
title = getString(R.string.artic_base),
|
||||
path = "articbase://$textInputValue",
|
||||
|
|
|
@ -1797,6 +1797,8 @@ void GMainWindow::OnMenuConnectArticBase() {
|
|||
tr("Enter Artic Base server address:"), QLineEdit::Normal,
|
||||
UISettings::values.last_artic_base_addr, &ok);
|
||||
if (ok) {
|
||||
if (!res.contains(QString::fromStdString(":")))
|
||||
res += QString::fromStdString(":5543");
|
||||
UISettings::values.last_artic_base_addr = res;
|
||||
BootGame(QString::fromStdString("articbase://").append(res));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue