mirror of
				https://github.com/Zelda64Recomp/Zelda64Recomp.git
				synced 2025-10-30 08:03:03 +00:00 
			
		
		
		
	 91db87632c
			
		
	
	
		91db87632c
		
			
		
	
	
	
	
		
			
			Integrates the modding functionality in N64ModernRuntime and adds several exported functions for mods to use. Also adds a ROM decompressor so that the runtime has access to the uncompressed code in the ROM for hooking purposes.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			373 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			373 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __PATCH_GRAPHICS_H__
 | |
| #define __PATCH_GRAPHICS_H__
 | |
| 
 | |
| #include "patch_helpers.h"
 | |
| 
 | |
| DECLARE_FUNC(void, recomp_get_window_resolution, u32*, u32*);
 | |
| DECLARE_FUNC(float, recomp_get_target_aspect_ratio, float);
 | |
| DECLARE_FUNC(s32, recomp_get_target_framerate, s32);
 | |
| DECLARE_FUNC(s32, recomp_high_precision_fb_enabled);
 | |
| DECLARE_FUNC(float, recomp_get_resolution_scale);
 | |
| 
 | |
| #endif
 |