mirror of
https://github.com/open-goal/jak-project
synced 2026-05-24 07:11:15 -04:00
[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:
@@ -553,7 +553,7 @@ std::string LinkedObjectFile::print_function_disassembly(Function& func,
|
||||
const std::string& extra_name) {
|
||||
std::string result;
|
||||
result += ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n";
|
||||
result += "; .function " + func.guessed_name.to_string() + " " + extra_name + "\n";
|
||||
result += "; .function " + func.name() + " " + extra_name + "\n";
|
||||
result += ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n";
|
||||
result += func.prologue.to_string(2) + "\n";
|
||||
if (func.warnings.has_warnings()) {
|
||||
|
||||
Reference in New Issue
Block a user