[decomp] add mips2c converter (#842)

* mips 2 c basic version, not yet tested

* calling works without crashing, but the function doesn't

* it works

* add test

* cleanup and actually add the test

* dont use mips2c by default for font

* clean up formatting
This commit is contained in:
water111
2021-09-11 20:52:35 -04:00
committed by GitHub
parent e47476983a
commit f9d8fcd6e4
61 changed files with 3463 additions and 153 deletions
+1
View File
@@ -84,6 +84,7 @@ class ObjectFileDB {
void ir2_do_segment_analysis_phase1(int seg, const Config& config);
void ir2_do_segment_analysis_phase2(int seg, const Config& config);
void ir2_setup_labels(const Config& config);
void ir2_run_mips2c(const Config& config);
std::string ir2_to_file(ObjectFileData& data, const Config& config);
std::string ir2_function_to_string(ObjectFileData& data, Function& function, int seg);
std::string ir2_final_out(ObjectFileData& data,