Modding function hooks (#530)

This commit updates the runtime for function hooking and implements any recomp-side functionality needed for them to fully hook (namely ROM decompression). For more details, see the relevant N64Recomp and N64ModernRuntime PRs.
This commit is contained in:
Wiseguy
2025-01-26 22:42:45 -05:00
committed by GitHub
parent 4945172ead
commit c4c0f928b6
9 changed files with 186 additions and 6 deletions
+5
View File
@@ -1,9 +1,14 @@
#ifndef __ZELDA_GAME_H__
#define __ZELDA_GAME_H__
#include <cstdint>
#include <span>
#include <vector>
namespace zelda64 {
void quicksave_save();
void quicksave_load();
std::vector<uint8_t> decompress_mm(std::span<const uint8_t> compressed_rom);
};
#endif