mirror of
https://github.com/open-goal/jak-project
synced 2026-05-29 16:45:10 -04:00
fix soundbank loading on black label (#1545)
This commit is contained in:
@@ -307,15 +307,19 @@
|
||||
;; send language change to the IOP.
|
||||
(when (!= (-> gp-0 language) (-> s5-1 language))
|
||||
;; NOTE : pc port added this
|
||||
(cond
|
||||
((= (language-enum japanese) (-> s5-1 language)) ;; old lang wasnt japanese
|
||||
(sound-bank-unload (static-sound-name "common"))
|
||||
(sound-bank-load (static-sound-name "commonj"))
|
||||
)
|
||||
((= (language-enum japanese) (-> gp-0 language)) ;; old lang was japanese
|
||||
(sound-bank-unload (static-sound-name "commonj"))
|
||||
(sound-bank-load (static-sound-name "common"))
|
||||
)
|
||||
(#when PC_PORT
|
||||
(cond
|
||||
((not *jak1-full-game*)
|
||||
)
|
||||
((= (language-enum japanese) (-> s5-1 language)) ;; old lang wasnt japanese
|
||||
(sound-bank-unload (static-sound-name "common"))
|
||||
(sound-bank-load (static-sound-name "commonj"))
|
||||
)
|
||||
((= (language-enum japanese) (-> gp-0 language)) ;; old lang was japanese
|
||||
(sound-bank-unload (static-sound-name "commonj"))
|
||||
(sound-bank-load (static-sound-name "common"))
|
||||
)
|
||||
)
|
||||
)
|
||||
(set! (-> gp-0 language) (-> s5-1 language))
|
||||
(set-language (-> gp-0 language))
|
||||
|
||||
Reference in New Issue
Block a user