[decomp] loader prelim work + some cleanup (#697)

* [decomp] `loader` prelim work + some cleanup

* more things

* more

* even more

* yet even more

* minor fixes

* decompiler fix + use behaviors for two funcs

* last functions

* Create loader_REF.gc

* more work

* change vag tool config format + unrelated farmer and yakow stuff

* update some things

* fix some decomp

* cleanup things i came across + make dgo compileable

* fix consistency test

* update refs

* offline test: skip buggy `external-art-buffer` method

* fix test
This commit is contained in:
ManDude
2021-07-23 23:30:49 +01:00
committed by GitHub
parent 09c09ce35f
commit 1e11a588f5
66 changed files with 4060 additions and 1886 deletions
+2 -1
View File
@@ -78,6 +78,7 @@ struct StackInstrInfo {
constexpr StackInstrInfo stack_instrs[] = {{InstructionKind::SQ, false, 16, false},
{InstructionKind::LQ, true, 16, false},
{InstructionKind::SW, false, 4, false},
{InstructionKind::SH, false, 2, false},
{InstructionKind::SB, false, 1, false},
{InstructionKind::LBU, true, 1, false},
//{InstructionKind::LWU, true, 4, false}
@@ -111,4 +112,4 @@ StackSpillMap build_spill_map(const std::vector<Instruction>& instructions, Rang
map.finalize();
return map;
}
} // namespace decompiler
} // namespace decompiler