From d762793c1cf97937ad910621136842b768c4b4fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Mon, 27 Mar 2023 20:40:01 +0300 Subject: [PATCH] Fix bug where too short of a filename would not give launch error dialog --- shell.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.asm b/shell.asm index 15e8500..b24b9f9 100644 --- a/shell.asm +++ b/shell.asm @@ -572,7 +572,7 @@ launch: ; Is it a .bin file? cmp cx, 4 - jb .end ; No, too short + jb .not_launchable ; No, too short mov si, launch_filename add si, cx sub si, 4