mirror of
https://github.com/open-goal/jak-project
synced 2026-09-01 09:53:12 -04:00
decomp: eye (#778)
* decomp: `eye` close just need a pile of casts for the rendering code * stash * decomp: `eye` mostly cleaned up, xmm reg issue with `pextlb` * waitin * update ref tests and gsrc * update reference tests
This commit is contained in:
+7
-6
@@ -92,7 +92,7 @@
|
||||
)
|
||||
|
||||
;; definition for function stopwatch-stop
|
||||
;; INFO: Return type mismatch int vs uint.
|
||||
;; INFO: Return type mismatch int vs none.
|
||||
;; WARN: Unsupported inline assembly instruction kind - [mfc0 a1, Count]
|
||||
(defun stopwatch-stop ((arg0 stopwatch))
|
||||
(local-vars (a1-0 int))
|
||||
@@ -102,7 +102,8 @@
|
||||
(.mfc0 a1-0 Count)
|
||||
(+! (-> arg0 prev-time-elapsed) (- (the-as time-frame a1-0) (-> arg0 start-time)))
|
||||
)
|
||||
(the-as uint 0)
|
||||
0
|
||||
(none)
|
||||
)
|
||||
|
||||
;; definition for function stopwatch-begin
|
||||
@@ -119,7 +120,7 @@
|
||||
)
|
||||
|
||||
;; definition for function stopwatch-end
|
||||
;; INFO: Return type mismatch int vs uint.
|
||||
;; INFO: Return type mismatch int vs none.
|
||||
;; WARN: Unsupported inline assembly instruction kind - [mfc0 a1, Count]
|
||||
(defun stopwatch-end ((arg0 stopwatch))
|
||||
(local-vars (a1-0 int))
|
||||
@@ -129,11 +130,11 @@
|
||||
(.mfc0 a1-0 Count)
|
||||
(+! (-> arg0 prev-time-elapsed) (- (the-as time-frame a1-0) (-> arg0 start-time)))
|
||||
)
|
||||
(the-as uint 0)
|
||||
0
|
||||
(none)
|
||||
)
|
||||
|
||||
;; definition for function stopwatch-elapsed-ticks
|
||||
;; INFO: Return type mismatch time-frame vs uint.
|
||||
;; WARN: Unsupported inline assembly instruction kind - [mfc0 v1, Count]
|
||||
(defun stopwatch-elapsed-ticks ((arg0 stopwatch))
|
||||
(local-vars (v1-3 int))
|
||||
@@ -143,7 +144,7 @@
|
||||
(.mfc0 v1-3 Count)
|
||||
(+! v0-0 (- (the-as time-frame v1-3) (-> arg0 start-time)))
|
||||
)
|
||||
(the-as uint v0-0)
|
||||
v0-0
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user