mirror of
https://github.com/open-goal/jak-project
synced 2026-08-18 13:53:01 -04:00
[decomp] jak2: debug, debug-sphere (#1846)
I wasn't able to 100% complete `debug` due to a bunch of level boundary debug stuff I couldn't figure out. But, I added a ref test and documented/copied over everything else into goal_src. Most of the functions that existed in Jak 1 are identical, others got an extra param or 2 and some now make copies of arguments instead of modifying them. There's a bunch of new functions, including all of the debug functions that used to be in `level-boundary` are now in `debug`. At the very end of `debug` there's also some weird asm functions checking for some EE memory controller bug (not sure what's up with that)?
This commit is contained in:
+6
-6
@@ -530,9 +530,9 @@
|
||||
(goto cfg-4)
|
||||
)
|
||||
(format #t "[~8x] ~A~%" obj 'vector4w-2)
|
||||
(format #t "~1Tdata[8] @ #x~X~%" (-> obj data))
|
||||
(format #t "~1Tquad[2] @ #x~X~%" (-> obj data))
|
||||
(format #t "~1Tvector[2] @ #x~X~%" (-> obj data))
|
||||
(format #t "~1Tdata[8] @ #x~X~%" (-> obj vector))
|
||||
(format #t "~1Tquad[2] @ #x~X~%" (-> obj vector))
|
||||
(format #t "~1Tvector[2] @ #x~X~%" (-> obj vector))
|
||||
(label cfg-4)
|
||||
obj
|
||||
)
|
||||
@@ -555,9 +555,9 @@
|
||||
(goto cfg-4)
|
||||
)
|
||||
(format #t "[~8x] ~A~%" obj 'vector4w-3)
|
||||
(format #t "~1Tdata[12] @ #x~X~%" (-> obj data))
|
||||
(format #t "~1Tquad[3] @ #x~X~%" (-> obj data))
|
||||
(format #t "~1Tvector[3] @ #x~X~%" (-> obj data))
|
||||
(format #t "~1Tdata[12] @ #x~X~%" (-> obj vector))
|
||||
(format #t "~1Tquad[3] @ #x~X~%" (-> obj vector))
|
||||
(format #t "~1Tvector[3] @ #x~X~%" (-> obj vector))
|
||||
(label cfg-4)
|
||||
obj
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user