Zelda64Recomp/patches/graphics.h
Wiseguy 91db87632c
Mod Support (#499)
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.
2025-02-14 18:38:10 -05:00

13 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