[jak 2] texture (#1866)

- Decompile and patch `texture.gc` for PC
- Improve decompiler when offset doesn't fit in immediate (for types
larger than 8k and some scratchpad accesses)
- Fix symbol->string issues in both jak 1 and 2
- Fix bug with VIF interrupt used to profile VU code (hooked up to
OpenGLRenderer BucketRenderers in PC port)
- Support `~o` in `format`.
- Uncomment stuff in `merc.gc` that now works!

![image](https://user-images.githubusercontent.com/48171810/189505469-941b4a3e-23c7-4740-aa1b-2e461ed19fa9.png)

fixes https://github.com/open-goal/jak-project/issues/1850
This commit is contained in:
water111
2022-09-11 14:17:55 -04:00
committed by GitHub
parent 017070525a
commit 4eea31c3e9
111 changed files with 9110 additions and 3789 deletions
+5 -5
View File
@@ -2265,17 +2265,17 @@ TEST_F(FormRegressionTestJak1, ExprPrintName) {
std::string expected =
"(cond\n"
" ((= arg0 arg1) #t)\n"
" ((= arg0 arg1)\n"
" #t\n"
" )\n"
" ((and (= (-> arg0 type) string) (= (-> arg1 type) string))\n"
" (string= (the-as string arg0) (the-as string arg1))\n"
" )\n"
" ((and (= (-> arg0 type) string) (= (-> arg1 type) symbol))\n"
" (string= (the-as string arg0) (the-as string (-> (the-as (pointer uint32) (+ 65336 "
"(the-as int arg1))))))\n"
" (string= (the-as string arg0) (symbol->string arg1))\n"
" )\n"
" ((and (= (-> arg1 type) string) (= (-> arg0 type) symbol))\n"
" (string= (the-as string arg1) (the-as string (-> (the-as (pointer uint32) (+ 65336 "
"(the-as int arg0))))))\n"
" (string= (the-as string arg1) (symbol->string arg0))\n"
" )\n"
" )";
test_with_expr(func, type, expected, false, "", {},