# Little Nightmares 2 1.4
# BID: 7F4216B6E784A4B2

unsafeCheck: true

ALL_FPS:
  # r.DynamicRes.FrameTimeBudget (1000/FPS) cutted to 4 decimals
  -
    type: evaluate_write
    address: [MAIN, 0x74A0370, 0]
    value_type: float
    value: ["TruncDec(FRAMETIME_TARGET, 4)", "TruncDec(FRAMETIME_TARGET, 4)"]
  # t.MaxFPS (it slows down below 20 FPS)
  -
    type: evaluate_write
    address: [MAIN, 0x74CC710, 0]
    value_type: float
    value: [FPS_LOCK_TARGET, FPS_LOCK_TARGET]
  -
    type: block
    what: timing
