Use plain size_t instead

This commit is contained in:
dcvz 2024-06-11 20:08:20 +02:00
parent 78bbf73eb1
commit 063c85f991

View file

@ -9,18 +9,18 @@ namespace recomp {
namespace overlays {
struct overlay_section_table_data_t {
SectionTableEntry* code_sections;
std::size_t num_code_sections;
std::size_t total_num_sections;
size_t num_code_sections;
size_t total_num_sections;
};
struct overlays_by_index_t {
int* table;
std::size_t len;
size_t len;
};
void register_overlays(const overlay_section_table_data_t& sections, const overlays_by_index_t& overlays);
void register_patches(const char* patch_data, std::size_t patch_size, SectionTableEntry* code_sections);
void register_patches(const char* patch_data, size_t patch_size, SectionTableEntry* code_sections);
void read_patch_data(uint8_t* rdram, gpr patch_data_address);
void init_overlays();