mirror of
https://github.com/N64Recomp/N64ModernRuntime.git
synced 2026-05-11 03:12:15 +00:00
Fixes for windows and size_t
This commit is contained in:
parent
5f350b858e
commit
78bbf73eb1
1 changed files with 4 additions and 3 deletions
|
|
@ -2,19 +2,20 @@
|
||||||
#define __RECOMP_OVERLAYS_H__
|
#define __RECOMP_OVERLAYS_H__
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
#include <cstddef>
|
||||||
#include "sections.h"
|
#include "sections.h"
|
||||||
|
|
||||||
namespace recomp {
|
namespace recomp {
|
||||||
namespace overlays {
|
namespace overlays {
|
||||||
struct overlay_section_table_data_t {
|
struct overlay_section_table_data_t {
|
||||||
SectionTableEntry* code_sections;
|
SectionTableEntry* code_sections;
|
||||||
size_t num_code_sections;
|
std::size_t num_code_sections;
|
||||||
size_t total_num_sections;
|
std::size_t total_num_sections;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct overlays_by_index_t {
|
struct overlays_by_index_t {
|
||||||
int* table;
|
int* table;
|
||||||
size_t len;
|
std::size_t len;
|
||||||
};
|
};
|
||||||
|
|
||||||
void register_overlays(const overlay_section_table_data_t& sections, const overlays_by_index_t& overlays);
|
void register_overlays(const overlay_section_table_data_t& sections, const overlays_by_index_t& overlays);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue