# It Takes Two 1.0.2
# BID: C4067E8CB3258656

unsafeCheck: true

MASTER_WRITE:
  # Set Triple Buffer
  -
    type: bytes
    main_offset: 0x8AA9FBC
    value_type: int8
    value: 0x53
ALL_FPS:
  # r.DynamicRes.FrameTimeBudget = 0.87 * (1000/FPS) cutted to 2 decimals
  -
    type: evaluate_write
    address: [MAIN, 0xACCB3D8, 0]
    value_type: float
    value: ["TruncDec(0.87 * FRAMETIME_TARGET, 2)", "TruncDec(0.87 * FRAMETIME_TARGET, 2)"]
  # t.MaxFPS
  -
    type: evaluate_write
    address: [MAIN, 0xACF9130, 0]
    value_type: float
    value: [FPS_LOCK_TARGET, FPS_LOCK_TARGET]
  -
    type: block
    what: timing
