mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30: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)) |                             .setTitle(getString(R.string.artic_base_enter_address)) | ||||||
|                             .setPositiveButton(android.R.string.ok) { _, _ -> |                             .setPositiveButton(android.R.string.ok) { _, _ -> | ||||||
|                                 if (textInputValue.isNotEmpty()) { |                                 if (textInputValue.isNotEmpty()) { | ||||||
|  |                                     if (!textInputValue.contains(":")) | ||||||
|  |                                         textInputValue += ":5543" | ||||||
|                                     val menu = Game( |                                     val menu = Game( | ||||||
|                                         title = getString(R.string.artic_base), |                                         title = getString(R.string.artic_base), | ||||||
|                                         path = "articbase://$textInputValue", |                                         path = "articbase://$textInputValue", | ||||||
|  |  | ||||||
|  | @ -1797,6 +1797,8 @@ void GMainWindow::OnMenuConnectArticBase() { | ||||||
|                                      tr("Enter Artic Base server address:"), QLineEdit::Normal, |                                      tr("Enter Artic Base server address:"), QLineEdit::Normal, | ||||||
|                                      UISettings::values.last_artic_base_addr, &ok); |                                      UISettings::values.last_artic_base_addr, &ok); | ||||||
|     if (ok) { |     if (ok) { | ||||||
|  |         if (!res.contains(QString::fromStdString(":"))) | ||||||
|  |             res += QString::fromStdString(":5543"); | ||||||
|         UISettings::values.last_artic_base_addr = res; |         UISettings::values.last_artic_base_addr = res; | ||||||
|         BootGame(QString::fromStdString("articbase://").append(res)); |         BootGame(QString::fromStdString("articbase://").append(res)); | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue