mirror of
				https://github.com/Ultra-NX/UltraNX.git
				synced 2025-10-30 18:59:57 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			55 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # NieR:Automata The End of YoRHa Edition US/EU 1.0.2
 | |
| # BID: E43525F22282A477
 | |
| 
 | |
| 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
 | |
|   -
 | |
|     type: asm_a64
 | |
|     main_offset: 0x9BF3E4
 | |
|     instructions: [
 | |
|       [adrp, x12, $dr_target_bad],
 | |
|       [ldr, s3, [x12, $dr_target_bad]]
 | |
|     ]
 | |
|   -
 | |
|     type: asm_a64
 | |
|     main_offset: 0x9BF434
 | |
|     instructions: [
 | |
|       [adrp, x12, $dr_target_optimal],
 | |
|       [ldr, w12, [x12, $dr_target_optimal]]
 | |
|     ]
 | |
|   -
 | |
|     type: asm_a64
 | |
|     main_offset: 0x9BF484
 | |
|     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: 0x9BF4A8
 | |
|     instructions: [
 | |
|       [ldr, s0, [x12, $dr_target_good]]
 | |
|     ]
 | |
| 
 |