From 958e6348f75b0b45b66d9d3b5527be1955a7ac19 Mon Sep 17 00:00:00 2001 From: Ry Date: Fri, 31 Mar 2023 00:32:02 -0700 Subject: [PATCH] launcher: Launch applications from the current disk --- applications/launcher/main.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/launcher/main.asm b/applications/launcher/main.asm index d8bc01f..1f90923 100644 --- a/applications/launcher/main.asm +++ b/applications/launcher/main.asm @@ -64,8 +64,10 @@ button_click_event: ; terminal cmp r1, 0 + ifz call get_current_disk_id + cmp r1, 0 + ifz mov r1, r0 ifz mov r0, terminal_button_fxf - ifz mov r1, 0 ifz mov r2, 0 ifz mov r3, 0 ifz mov r4, 0