mirror of
				https://github.com/Ultra-NX/UltraNX.git
				synced 2025-11-04 05:09:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			37 lines
		
	
	
		
			797 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			797 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
# REYNATIS (US/EU) 1.0.10
 | 
						|
# BID: 5F765D2CC4CDEF1C
 | 
						|
 | 
						|
DECLARATIONS:
 | 
						|
  -
 | 
						|
    type: variable
 | 
						|
    name: dr_target1
 | 
						|
    value_type: double
 | 
						|
    default_value: 31
 | 
						|
    evaluate: "0.93 * FRAMETIME_TARGET"
 | 
						|
  -
 | 
						|
    type: variable
 | 
						|
    name: dr_target2
 | 
						|
    value_type: double
 | 
						|
    default_value: 29
 | 
						|
    evaluate: "(0.93 * FRAMETIME_TARGET) - 2"
 | 
						|
MASTER_WRITE:
 | 
						|
  # Redirect reading DR timing in DynamicResolution::LowerResSW()
 | 
						|
  # REF: 01 f0 67 1e
 | 
						|
  -
 | 
						|
    type: asm_a64
 | 
						|
    main_offset: 0x38E7ECC
 | 
						|
    instructions: [
 | 
						|
      [adrp, x20, $dr_target1],
 | 
						|
      [ldr, d1, [x20, $dr_target1]],
 | 
						|
      [fcmpe, d0, d1],
 | 
						|
      [ldp, s9, s8, [x19, 0x40]],
 | 
						|
      [b.le, 0x38e7f34],
 | 
						|
      [ldr, s10, [x19, 0x60]]
 | 
						|
    ]
 | 
						|
  -
 | 
						|
    type: asm_a64
 | 
						|
    main_offset: 0x38E7F34
 | 
						|
    instructions: [
 | 
						|
      [ldr, d1, [x20, $dr_target2]]
 | 
						|
    ]
 |