Commit 9f84c9a0 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Writeout in new-style fbwrite

parent d82c879a
......@@ -477,6 +477,7 @@ static void print_compact_branch_writeout_field(uint16_t word)
break;
}
case lima_t6xx_jmp_writeout_op_branch_cond:
case lima_t6xx_jmp_writeout_op_writeout:
{
lima_t6xx_branch_cond_t br_cond;
memcpy((char*) &br_cond, (char*) &word, sizeof(br_cond));
......@@ -486,11 +487,11 @@ static void print_compact_branch_writeout_field(uint16_t word)
case 0: printf("unk0"); break;
case 1: printf("false"); break;
case 2: printf("true"); break;
case 3: printf("unk3"); break;
case 3: printf("write"); break;
default: break;
}
printf(" ");
if (br_cond.offset > 0)
if (br_cond.offset >= 0)
printf("+");
printf("%d\n", br_cond.offset);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment