Implemented camera aspect ratio hooks

This commit is contained in:
Hyper
2024-10-17 19:15:36 +01:00
parent 02c9484c9c
commit 3c1c13e4ce
17 changed files with 307 additions and 7 deletions

View File

@@ -107,4 +107,16 @@ registers = ["f13"]
[[midasm_hook]]
name = "GracefulLoopExitMidAsmHook"
address = 0x822C1018
return_on_true = true
return_on_true = true
[[midasm_hook]]
name = "CameraAspectRatioMidAsmHook"
address = 0x82468E84
registers = ["r31"]
jump_address_on_true = 0x82468E88
jump_address_on_false = 0x82468EE0
[[midasm_hook]]
name = "CameraBoostAspectRatioMidAsmHook"
address = 0x8246BDA8
registers = ["r31", "f0"]