From 4b1bc7c38c56d6390ff71021bf3d1707d64e8b00 Mon Sep 17 00:00:00 2001 From: kanjitalk755 Date: Tue, 19 Jul 2022 23:07:20 +0900 Subject: [PATCH] fix multiple entry of "seriala" --- BasiliskII/src/MacOSX/sys_darwin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BasiliskII/src/MacOSX/sys_darwin.cpp b/BasiliskII/src/MacOSX/sys_darwin.cpp index 5582fff0..6e8a35c7 100644 --- a/BasiliskII/src/MacOSX/sys_darwin.cpp +++ b/BasiliskII/src/MacOSX/sys_darwin.cpp @@ -350,8 +350,9 @@ void DarwinAddSerialPrefs(void) { D(bug("Modem BSD path: %s\n", bsdPath)); - // Note that if there are multiple modems, we only get the last + // Note that if there are multiple modems, we only get the first PrefsAddString("seriala", bsdPath); + break; } else D(bug("Could not get BSD device path for modem\n"));