From 19b560bd3e62ebbb8e98771a312df5546ec061b4 Mon Sep 17 00:00:00 2001 From: David Seto <67933197+dtseto@users.noreply.github.com> Date: Thu, 3 Sep 2026 15:31:40 -0700 Subject: [PATCH 1/2] fix fixes to session is not ready when loading package --- Boxer/BXSession.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Boxer/BXSession.m b/Boxer/BXSession.m index 51b9d87c..b939c855 100644 --- a/Boxer/BXSession.m +++ b/Boxer/BXSession.m @@ -1570,6 +1570,10 @@ - (void) emulatorDidReturnToShell: (NSNotification *)notification //Let the display sleep while we're at the shell [self _syncSuppressesDisplaySleep]; + + //The session is ready to launch another URL once DOSBox has returned to + //an idle shell, including the initial shell reached after startup. + self.canOpenURLs = !self.emulator.isRunningActiveProcess; //If this was the last program in the stack, then clean up a bunch of our state //and switch back to the launcher panel if appropriate. From 59a1526cea48fc120128a70e0028eaa4c5e62366 Mon Sep 17 00:00:00 2001 From: David Seto <67933197+dtseto@users.noreply.github.com> Date: Sun, 6 Sep 2026 10:35:55 -0700 Subject: [PATCH 2/2] bugfix Fixed the BXSession startup-path bug. causes it to not autoload packages correctly. --- Boxer/BXSession.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Boxer/BXSession.m b/Boxer/BXSession.m index b939c855..0aa6c57c 100644 --- a/Boxer/BXSession.m +++ b/Boxer/BXSession.m @@ -371,7 +371,7 @@ - (BOOL) readFromURL: (NSURL *)absoluteURL //Check if the user was running a program last time, and restore that if available. NSString *previousPath = [self.gameSettings objectForKey: BXGameboxSettingsLastProgramPathKey]; NSURL *previousURL = nil; - if (previousPath && !previousPath.isAbsolutePath) + if (previousPath.length > 0) { if (previousPath.isAbsolutePath) {