mirror of
https://github.com/open-goal/jak-project
synced 2026-08-07 02:06:59 -04:00
[decompiler] Make addition nicer (#733)
* temp * update refs * update reference * fix tests
This commit is contained in:
@@ -100,10 +100,7 @@
|
||||
(set! (-> arg0 begin-level) 0)
|
||||
0
|
||||
(.mfc0 a1-0 Count)
|
||||
(+!
|
||||
(-> arg0 prev-time-elapsed)
|
||||
(the-as uint (- a1-0 (the-as int (-> arg0 start-time))))
|
||||
)
|
||||
(+! (-> arg0 prev-time-elapsed) (- a1-0 (the-as int (-> arg0 start-time))))
|
||||
)
|
||||
(the-as uint 0)
|
||||
)
|
||||
@@ -130,10 +127,7 @@
|
||||
(when (zero? (-> arg0 begin-level))
|
||||
0
|
||||
(.mfc0 a1-0 Count)
|
||||
(+!
|
||||
(-> arg0 prev-time-elapsed)
|
||||
(the-as uint (- a1-0 (the-as int (-> arg0 start-time))))
|
||||
)
|
||||
(+! (-> arg0 prev-time-elapsed) (- a1-0 (the-as int (-> arg0 start-time))))
|
||||
)
|
||||
(the-as uint 0)
|
||||
)
|
||||
@@ -146,7 +140,7 @@
|
||||
(when (> (-> arg0 begin-level) 0)
|
||||
0
|
||||
(.mfc0 v1-3 Count)
|
||||
(+! v0-0 (the-as uint (- v1-3 (the-as int (-> arg0 start-time)))))
|
||||
(+! v0-0 (- v1-3 (the-as int (-> arg0 start-time))))
|
||||
)
|
||||
v0-0
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user