mirror of
https://github.com/open-goal/jak-project
synced 2026-08-05 09:34:51 -04:00
[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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user