Skip to content

Commit

Permalink
m1n1.trace.agx: Decode VDM on G14X
Browse files Browse the repository at this point in the history
Signed-off-by: Asahi Lina <[email protected]>
  • Loading branch information
asahilina committed Jun 15, 2024
1 parent 9d9bcd5 commit e41d51d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions proxyclient/m1n1/trace/agx.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,11 @@ def kread(off, size):
self.log(f" tilemap @ {reg.data:#x}:")
data = read(reg.data, 0x100000)
chexdump(data, print_fn=self.log)
elif reg.number == 0x1c880:
if self.agxdecode:
self.log("Decode VDM")
self.uat.invalidate_cache()
self.agxdecode.libagxdecode_vdm(reg.data, b"VDM", True)

def handle_3d(self, wi):
self.log(f"Got 3D WI{wi.cmdid:d}")
Expand Down

0 comments on commit e41d51d

Please sign in to comment.