From 726b48b0c44390028d7c1261b7dff2bb009e452e Mon Sep 17 00:00:00 2001 From: Matt Dallmeyer Date: Sat, 18 Jul 2026 13:31:12 -0700 Subject: [PATCH] [jak1] Prevent debug crash in subtitle code (#4348) fixes this crash https://gist.github.com/dallmeyer/0a5520379a3b96725af152bde66f63e8 which can be reproduced by doing a HUD buffer on the bottom of LPC cell in debug mode --- goal_src/jak1/pc/subtitle.gc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goal_src/jak1/pc/subtitle.gc b/goal_src/jak1/pc/subtitle.gc index abad192f8d..c5aef895a0 100644 --- a/goal_src/jak1/pc/subtitle.gc +++ b/goal_src/jak1/pc/subtitle.gc @@ -446,7 +446,7 @@ (set! (-> self cur-channel) (pc-subtitle-channel invalid)) ;; check what kind of subtitles are running (cond - ((and (movie?) (-> *art-control* spool-lock) (-> *art-control* active-stream)) + ((and (movie?) (handle->process (-> *art-control* spool-lock)) (-> *art-control* active-stream)) ;; there's a cutscene happening and an active spool with a valid owner. (set! (-> self spool-name) (-> *art-control* active-stream)) (set! (-> self cur-channel) (pc-subtitle-channel movie))