Remove half pixel globally instead of negating them with patches.

This commit is contained in:
Skyth
2024-10-24 17:43:05 +03:00
parent 9b70e1034a
commit c2d0128226
5 changed files with 31 additions and 41 deletions

View File

@@ -79,11 +79,6 @@ invalid_instructions = [
{ data = 0x00485645, size = 44 } # End of .text
]
[[midasm_hook]]
name = "HalfPixelOffsetMidAsmHook"
address = 0x82E9FD64
registers = ["f9", "f0"]
[[midasm_hook]]
name = "IndexBufferLengthMidAsmHook"
address = 0x82E26244
@@ -94,16 +89,6 @@ name = "SetShadowResolutionMidAsmHook"
address = 0x82BAD87C
registers = ["r11"]
[[midasm_hook]]
name = "Primitive2DHalfPixelOffsetMidAsmHook"
address = 0x830D1F40
registers = ["f13"]
[[midasm_hook]]
name = "Primitive2DHalfPixelOffsetMidAsmHook"
address = 0x830D213C
registers = ["f13"]
[[midasm_hook]]
name = "CameraAspectRatioMidAsmHook"
address = 0x82468E84