mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-06-03 17:23:16 +00:00
Added manual sections input option, fixed bug with multiplications and added mthi/lo instructions
This commit is contained in:
parent
72fe4ed79c
commit
50d55bd171
4 changed files with 108 additions and 7 deletions
|
@ -44,6 +44,13 @@ namespace RecompPort {
|
|||
uint32_t size_bytes;
|
||||
};
|
||||
|
||||
struct ManualFunction {
|
||||
std::string func_name;
|
||||
std::string section_name;
|
||||
uint32_t vram;
|
||||
uint32_t size;
|
||||
};
|
||||
|
||||
struct Config {
|
||||
int32_t entrypoint;
|
||||
bool has_entrypoint;
|
||||
|
@ -58,6 +65,7 @@ namespace RecompPort {
|
|||
DeclaredFunctionMap declared_funcs;
|
||||
std::vector<InstructionPatch> instruction_patches;
|
||||
std::vector<FunctionSize> manual_func_sizes;
|
||||
std::vector<ManualFunction> manual_functions;
|
||||
std::string bss_section_suffix;
|
||||
|
||||
Config(const char* path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue