Add triangle list fallback path for triangle fans.

This commit is contained in:
Skyth
2024-11-08 22:03:26 +03:00
parent 329d51885d
commit 0962560ec9
5 changed files with 155 additions and 42 deletions

View File

@@ -406,3 +406,14 @@ registers = ["r4", "f1", "f2"]
name = "LightShaftAspectRatioFix"
address = 0x82BB1314
registers = ["f28", "f0"]
[[midasm_hook]]
name = "ParticleTestIndexBufferMidAsmHook"
address = 0x827D20A0
registers = ["r30"]
jump_address_on_true = 0x827D20EC
[[midasm_hook]]
name = "ParticleTestDrawIndexedPrimitiveMidAsmHook"
address = 0x827D25AC
registers = ["r7"]