gsound PAL patch

This commit is contained in:
ManDude
2022-06-19 14:52:19 +01:00
parent f8816b13f0
commit 5e4664404b
3 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
// if you want to filter to only some object names.
// it will make the decompiler much faster.
"allowed_objects": ["rolling-obs", "rollingcam-ag", "pusher-ag", "happy-plant-ag", "dark-plant-ag", "rolling-start-ag"],
"allowed_objects": ["gsound-h", "gsound", "rollingcam-ag", "pusher-ag", "happy-plant-ag", "dark-plant-ag", "rolling-start-ag"],
"banned_objects": [],
////////////////////////////
@@ -7705,5 +7705,7 @@
[[985, 1063], "s5", "handle"]
],
"sound-set-fps": [[[3, 7], "v1", "sound-rpc-set-fps"]],
"placeholder-do-not-add-below": []
}
+10 -3
View File
@@ -150,7 +150,14 @@
0
)
(sound-bank-load (static-sound-name "common"))
(case (scf-get-territory)
((2)
(sound-bank-load (static-sound-name "commonj"))
)
(else
(sound-bank-load (static-sound-name "common"))
)
)
(sound-bank-load (static-sound-name "empty1"))
(sound-bank-load (static-sound-name "empty2"))
@@ -494,11 +501,11 @@
0
)
(defun sound-set-fps ((arg0 uint))
(defun sound-set-fps ((arg0 int))
(let ((cmd (the-as sound-rpc-set-fps (get-sound-buffer-entry))))
(set! (-> cmd command) (sound-command set-fps))
(set! (-> cmd fps) arg0)
(set! (-> cmd fps) (the-as uint arg0))
)
0
)