mirror of
https://github.com/open-goal/jak-project
synced 2026-08-06 01:49:17 -04:00
[decompiler] fix (gpr->fpr when an integer arg is converted to float (#482)
* fix gpr fpr bug * remove unused variable
This commit is contained in:
@@ -46,9 +46,7 @@
|
||||
|
||||
;; definition for function log2
|
||||
(defun log2 ((arg0 int))
|
||||
(let ((arg0 (gpr->fpr arg0)))
|
||||
(+ (sar (the-as int (the float arg0)) 23) -127)
|
||||
)
|
||||
(+ (sar (the-as int (the float arg0)) 23) -127)
|
||||
)
|
||||
|
||||
;; definition for function seek
|
||||
@@ -226,4 +224,3 @@
|
||||
;; failed to figure out what this is:
|
||||
(let ((v0-6 0))
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user