Set Camera Zoom Parameters
Jump to navigation
Jump to search
# ROUTINE: SET CAMERA ZOOM PARAMETERS # Parameters: # r4 = (inputCameraZoom) Camera zoom data pointer # 0x00: X zoom? (4 bytes) # 0x04: Y zoom? (4 bytes) # 0x08: Zoom value (4 bytes) 8008b834: 8c820000 lw r2,0x0000(r4) # inputCameraZoom.X 8008b838: 3c01800c lui r1,0x800c 8008b83c: ac227ca0 sw r2,0x7ca0(r1) # cameraZoom.X = inputCameraZoom.X 8008b840: 8c820004 lw r2,0x0004(r4) # inputCameraZoom.Y 8008b844: 3c01800c lui r1,0x800c 8008b848: ac227ca4 sw r2,0x7ca4(r1) # cameraZoom.Y = inputCameraZoom.Y 8008b84c: 8c820008 lw r2,0x0008(r4) # inputCameraZoom.Zoom 8008b850: 3c01800c lui r1,0x800c 8008b854: ac227ca8 sw r2,0x7ca8(r1) # cameraZoom.Zoom = inputCameraZoom.Zoom 8008b858: 03e00008 jr r31 8008b85c: 00000000 nop