mirror of
https://github.com/open-goal/jak-project
synced 2026-09-09 20:21:28 -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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user