mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-10-02 00:15:09 +02:00
19fcd9bf31
- updates to new controller changes - updates to new render context changes - updates to new controller number changes - fix for crash on save thread
20 lines
576 B
C++
20 lines
576 B
C++
#include "ovl_patches.hpp"
|
|
#include "../../RecompiledFuncs/recomp_overlays.inl"
|
|
|
|
#include "librecomp/overlays.hpp"
|
|
|
|
void zelda64::register_overlays() {
|
|
recomp::overlays::overlay_section_table_data_t sections {
|
|
.code_sections = section_table,
|
|
.num_code_sections = ARRLEN(section_table),
|
|
.total_num_sections = num_sections,
|
|
};
|
|
|
|
recomp::overlays::overlays_by_index_t overlays {
|
|
.table = overlay_sections_by_index,
|
|
.len = ARRLEN(overlay_sections_by_index),
|
|
};
|
|
|
|
recomp::overlays::register_overlays(sections, overlays);
|
|
}
|