Implemented CSD aspect ratio hooks

This only includes the centred mode, as the intention is to map out CSD classes in the API and handle the rest manually.

Co-Authored-By: Michael <15317421+ActualMandM@users.noreply.github.com>
This commit is contained in:
Hyper
2024-10-17 19:36:10 +01:00
parent 3c1c13e4ce
commit 554be01412
2 changed files with 40 additions and 1 deletions
+12 -1
View File
@@ -119,4 +119,15 @@ jump_address_on_false = 0x82468EE0
[[midasm_hook]]
name = "CameraBoostAspectRatioMidAsmHook"
address = 0x8246BDA8
registers = ["r31", "f0"]
registers = ["r31", "f0"]
[[midasm_hook]]
name = "CSDAspectRatioMidAsmHook"
address = 0x830C0A28
registers = ["f1", "f2"]
[[midasm_hook]]
name = "CSDOffsetMidAsmHook"
address = 0x830C0A78
registers = ["f1", "f2"]
return = true