mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 10:21:36 -04:00
@@ -100,12 +100,9 @@
|
||||
(set! (-> arg0 begin-level) 0)
|
||||
0
|
||||
(.mfc0 a1-0 Count)
|
||||
(set!
|
||||
(+!
|
||||
(-> arg0 prev-time-elapsed)
|
||||
(+
|
||||
(-> arg0 prev-time-elapsed)
|
||||
(the-as uint (- a1-0 (the-as int (-> arg0 start-time))))
|
||||
)
|
||||
(the-as uint (- a1-0 (the-as int (-> arg0 start-time))))
|
||||
)
|
||||
)
|
||||
(the-as uint 0)
|
||||
@@ -120,7 +117,7 @@
|
||||
(.mfc0 v1-3 Count)
|
||||
(set! (-> arg0 start-time) (the-as uint v1-3))
|
||||
)
|
||||
(set! (-> arg0 begin-level) (+ (-> arg0 begin-level) 1))
|
||||
(+! (-> arg0 begin-level) 1)
|
||||
0
|
||||
)
|
||||
|
||||
@@ -129,16 +126,13 @@
|
||||
;; WARN: Unsupported inline assembly instruction kind - [mfc0 a1, Count]
|
||||
(defun stopwatch-end ((arg0 stopwatch))
|
||||
(local-vars (a1-0 int))
|
||||
(set! (-> arg0 begin-level) (+ (-> arg0 begin-level) -1))
|
||||
(+! (-> arg0 begin-level) -1)
|
||||
(when (zero? (-> arg0 begin-level))
|
||||
0
|
||||
(.mfc0 a1-0 Count)
|
||||
(set!
|
||||
(+!
|
||||
(-> arg0 prev-time-elapsed)
|
||||
(+
|
||||
(-> arg0 prev-time-elapsed)
|
||||
(the-as uint (- a1-0 (the-as int (-> arg0 start-time))))
|
||||
)
|
||||
(the-as uint (- a1-0 (the-as int (-> arg0 start-time))))
|
||||
)
|
||||
)
|
||||
(the-as uint 0)
|
||||
|
||||
Reference in New Issue
Block a user