mirror of
https://github.com/open-goal/jak-project
synced 2026-06-10 12:55:45 -04:00
[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!  fixes https://github.com/open-goal/jak-project/issues/1850
This commit is contained in:
@@ -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, "", {},
|
||||
|
||||
Reference in New Issue
Block a user