mirror of
				https://github.com/Ultra-NX/UltraNX.git
				synced 2025-10-31 11:19:32 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			56 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # NieR:Automata The End of YoRHa Edition AS 1.0.2
 | |
| # BID: 992787E2B5425994
 | |
| 
 | |
| unsafeCheck: true
 | |
| 
 | |
| DECLARATIONS:
 | |
|   -
 | |
|     type: variable
 | |
|     name: dr_target_bad
 | |
|     value_type: float
 | |
|     default_value: 45
 | |
|     evaluate: "1.35 * FRAMETIME_TARGET"
 | |
|   -
 | |
|     type: variable
 | |
|     name: dr_target_optimal
 | |
|     value_type: float
 | |
|     default_value: 32.01
 | |
|     evaluate: "0.9603 * FRAMETIME_TARGET"
 | |
|   -
 | |
|     type: variable
 | |
|     name: dr_target_good
 | |
|     value_type: float
 | |
|     default_value: 30
 | |
|     evaluate: "0.9 * FRAMETIME_TARGET"
 | |
| MASTER_WRITE:
 | |
|   # Redirect DR timings to MAIN + 0x2BE8F00, [Bad, Optimal, Good]
 | |
|   -
 | |
|     type: asm_a64
 | |
|     main_offset: 0x9C07A4
 | |
|     instructions: [
 | |
|       [adrp, x12, $dr_target_bad],
 | |
|       [ldr, s3, [x12, $dr_target_bad]]
 | |
|     ]
 | |
|   -
 | |
|     type: asm_a64
 | |
|     main_offset: 0x9C07F4
 | |
|     instructions: [
 | |
|       [adrp, x12, $dr_target_optimal],
 | |
|       [ldr, w12, [x12, $dr_target_optimal]]
 | |
|     ]
 | |
|   -
 | |
|     type: asm_a64
 | |
|     main_offset: 0x9C0844
 | |
|     instructions: [
 | |
|       [fcsel, s3, s4, s0, gt],
 | |
|       [adrp, x12, $dr_target_optimal],
 | |
|       [ldr, s0, [x12, $dr_target_optimal]],
 | |
|       [adrp, x12, $dr_target_good]
 | |
|     ]
 | |
|   -
 | |
|     type: asm_a64
 | |
|     main_offset: 0x9C0868
 | |
|     instructions: [
 | |
|       [ldr, s0, [x12, $dr_target_good]]
 | |
|     ]
 |