From cf252d9a5bbaad5638ca91a3dcd91591aa0a8a28 Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Thu, 24 Apr 2025 23:24:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BD=BF=E7=94=A8=20mumu=20=E7=BD=91?= =?UTF-8?q?=E7=BB=9C=E6=A1=A5=E6=8E=A5=E6=97=B6=E9=80=9A=E8=BF=87=E5=A1=AB?= =?UTF-8?q?=E5=86=99=E7=9A=84=E5=AE=9E=E4=BE=8B=E5=8F=B7=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Helper/EmulatorHelper.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/MaaWpfGui/Helper/EmulatorHelper.cs b/src/MaaWpfGui/Helper/EmulatorHelper.cs index 9cb757bb66..fa32adf5f2 100644 --- a/src/MaaWpfGui/Helper/EmulatorHelper.cs +++ b/src/MaaWpfGui/Helper/EmulatorHelper.cs @@ -72,6 +72,10 @@ public class EmulatorHelper { emuIndex = 0; } + else if (SettingsViewModel.ConnectSettings.MuMuEmulator12Extras.MuMuBridgeConnection) + { + emuIndex = int.TryParse(SettingsViewModel.ConnectSettings.MuMuEmulator12Extras.Index, out var indexParse) ? indexParse : 0; + } else { string portStr = address.Split(':')[1];