[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
This commit is contained in:
Matt Dallmeyer
2026-07-18 13:31:12 -07:00
committed by GitHub
parent 425f143fcc
commit 726b48b0c4
+1 -1
View File
@@ -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))