mirror of
https://github.com/open-goal/jak-project
synced 2026-09-02 10:11:44 -04:00
[decompiler] handle pointer to symbol value, clean up prints on offline test (#1978)
- fix issue described in https://github.com/open-goal/jak-project/issues/1939 - fix `text`, which was manually patched with the wrong offset (was reading the symbol value off by one byte) - clean up some random useless prints - make the offline tests keep trying if there's a comparison error, clean up the output a bit so the diffs are all at the end.
This commit is contained in:
@@ -799,6 +799,10 @@ std::string debug_print(const LinkedWord& word) {
|
||||
return fmt::format("offset '{}", word.symbol_name());
|
||||
case LinkedWord::SYM_PTR:
|
||||
return fmt::format("ptr '{}", word.symbol_name());
|
||||
case LinkedWord::SYM_VAL_OFFSET:
|
||||
return fmt::format("val-ptr '{}", word.symbol_name());
|
||||
default:
|
||||
ASSERT(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user