mirror of
https://github.com/open-goal/jak-project
synced 2026-08-09 10:54:39 -04:00
[decompiler] Several small fixes (#775)
* fix assorted bugs * stricter return types * only look for functions in code files
This commit is contained in:
+2
-2
@@ -1508,11 +1508,11 @@
|
||||
(when parent
|
||||
(let ((child (-> parent 0 child)))
|
||||
(if (= child proc)
|
||||
(return (the-as (pointer process-tree) #f))
|
||||
(return (the-as object #f))
|
||||
)
|
||||
(while child
|
||||
(if (= (-> child 0 brother) proc)
|
||||
(return child)
|
||||
(return (the-as object child))
|
||||
)
|
||||
(set! child (-> child 0 brother))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user