mirror of
https://github.com/open-goal/jak-project
synced 2026-08-16 05:09:45 -04:00
fix fake vag clock and ocean with lag (#1558)
* fix the fake vag clock * fix ocean in lag
This commit is contained in:
@@ -966,26 +966,7 @@
|
||||
(str-play-async (-> arg0 name) spool-sound)
|
||||
(set! (-> *art-control* active-stream) (-> arg0 name))
|
||||
)
|
||||
;; When running at higher than 60fps, Jak's idle animations are spedup but no other animations appear to be
|
||||
;; We couldn't figure out a simple way to detect these animations, so this is checking against the idle animation names
|
||||
(let* ((f30-0 (* (if (and (or (= (-> *setting-control* current video-mode) '150fps) (= (-> *setting-control* current video-mode) '100fps))
|
||||
(or (string= (-> arg0 name) "eichar-ambient-1")
|
||||
(string= (-> arg0 name) "eichar-ambient-2")
|
||||
(string= (-> arg0 name) "eichar-ambient-3")
|
||||
(string= (-> arg0 name) "eichar-ambient-4")
|
||||
(string= (-> arg0 name) "fishermans-boat-ride-to-village1-alt")
|
||||
(string= (-> arg0 name) "fishermans-boat-ride-to-village1")
|
||||
(string= (-> arg0 name) "fishermans-boat-ride-to-misty")
|
||||
(string= (-> arg0 name) "gondola-ride-up")
|
||||
(string= (-> arg0 name) "gondola-ride-down")
|
||||
(string= (-> arg0 name) "logo-loop")
|
||||
(string= (-> arg0 name) "logo-intro-2")
|
||||
)
|
||||
)
|
||||
(-> *display* time-adjust-ratio)
|
||||
1.0
|
||||
)
|
||||
0.05859375 (-> s2-4 speed)))
|
||||
(let* ((f30-0 (* 0.05859375 (-> s2-4 speed)))
|
||||
(f28-0 (+ sv-24 (/ (the float (+ (-> s2-4 data 0 length) -1)) f30-0)))
|
||||
)
|
||||
(set! sv-72 (current-str-pos spool-sound))
|
||||
|
||||
Reference in New Issue
Block a user