[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 -1
View File
@@ -464,7 +464,7 @@ void inspect_basics(const Ram& ram,
int field_addr = base_addr + field.offset();
if (ram.word_in_memory(field_addr)) {
auto proc_pointer = ram.word(field_addr); // pointer process
auto pid = ram.word(field_addr + 4);
// auto pid = ram.word(field_addr + 4);
if (ram.word_in_memory(proc_pointer)) {
auto proc = ram.word(proc_pointer);
auto proc_type_tag_addr = proc - 4;