# 妖怪ウォッチ4 ぼくらは同じ空を見上げている 2.2.0
# BID: C7DAB27F22ACD2ED
# Game is using double buffer, nvnWindowBuilderSetTextures has hardcoded values.
# So it's not possible to get stable FPS lock between 30 and 60.

unsafeCheck: true

MASTER_WRITE:
  # Change main loop delay from 31.6 ms to 4.2 ms
  -
    type: bytes
    main_offset: 0x950C6C
    value_type: uint32
    value: 0xD2A00800
  -
    type: bytes
    main_offset: 0x950C74
    value_type: uint32
    value: 0xD2A00800
  -
    type: bytes
    main_offset: 0x950C94
    value_type: uint32
    value:
      - 0xD503201F
      - 0xD503201F
ALL_FPS:
  # DUMMY
  -
    type: write
    address: [MAIN, 0x6AE8500]
    value_type: uint8
    value: 0
