Get started on collide-func and clean up log forms in decompiler (#713)

* wip

* temp

* temp2

* first part of log macros

* more log macros

* logtest

* clean up

* dont initialize game info because we are missing stuff
This commit is contained in:
water111
2021-07-23 20:51:26 -04:00
committed by GitHub
parent 65b61d05e6
commit 95366d21df
73 changed files with 1900 additions and 1017 deletions
+2 -5
View File
@@ -523,7 +523,7 @@ TEST_F(FormRegressionTest, ExprDisasmVif) {
" (set! sv-16 (-> s1-0 cmd))\n"
" (when\n"
" (=\n"
" (logand sv-16 (the-as uint (-> *vif-disasm-table* v1-0 mask)))\n"
" (logand sv-16 (-> *vif-disasm-table* v1-0 mask))\n"
" (-> *vif-disasm-table* v1-0 tag)\n"
" )\n"
" (let ((a0-12 (-> *vif-disasm-table* v1-0 print)))\n"
@@ -633,10 +633,7 @@ TEST_F(FormRegressionTest, ExprDisasmVif) {
" (+\n"
" (logand\n"
" -4\n"
" (the-as\n"
" int\n"
" (+ (* (-> *vif-disasm-table* v1-0 val) (-> s1-0 num)) 3)\n"
" )\n"
" (+ (* (-> *vif-disasm-table* v1-0 val) (-> s1-0 num)) 3)\n"
" )\n"
" 4\n"
" )\n"