mirror of
https://github.com/BanjoRecomp/BanjoRecomp
synced 2026-05-23 14:41:41 -04:00
Fix build system issue that requires building twice after a patch change
This commit is contained in:
+1
-1
Submodule lib/rt64 updated: 090d68f4c4...775a2484f2
@@ -1,12 +1,16 @@
|
||||
#include "ovl_patches.hpp"
|
||||
#include "../../RecompiledPatches/patches_bin.h"
|
||||
#include "../../RecompiledPatches/recomp_overlays.inl"
|
||||
|
||||
#include "librecomp/overlays.hpp"
|
||||
#include "librecomp/game.hpp"
|
||||
|
||||
extern "C" {
|
||||
extern const char bk_patches_bin[];
|
||||
extern const size_t bk_patches_bin_size;
|
||||
}
|
||||
|
||||
void banjo::register_bk_patches() {
|
||||
recomp::overlays::register_patches(bk_patches_bin, sizeof(bk_patches_bin), section_table, ARRLEN(section_table));
|
||||
recomp::overlays::register_patches(bk_patches_bin, bk_patches_bin_size, section_table, ARRLEN(section_table));
|
||||
recomp::overlays::register_base_exports(export_table);
|
||||
recomp::overlays::register_base_events(event_names);
|
||||
recomp::overlays::register_manual_patch_symbols(manual_patch_symbols);
|
||||
|
||||
Reference in New Issue
Block a user