From 4ff917816e5b0895b2525d18d35f9f7a9a57eed3 Mon Sep 17 00:00:00 2001 From: Colin Leroy-Mira Date: Tue, 26 Sep 2023 22:27:17 +0200 Subject: [PATCH] Apple2: Always copy cmdline Otherwise, the last exec() cmdline lingers around for the next exec("file", NULL). --- libsrc/apple2/exec.s | 2 -- 1 file changed, 2 deletions(-) diff --git a/libsrc/apple2/exec.s b/libsrc/apple2/exec.s index d5cbf8788..27a6487bd 100644 --- a/libsrc/apple2/exec.s +++ b/libsrc/apple2/exec.s @@ -213,8 +213,6 @@ source: jsr $BF00 bcs error ; Check for cmdline handling - lda $0100 ; Valid cmdline? - beq jump ; No, jump to program right away ldx file_type ; SYS file? bne system ; Yes, check for startup filename