Skip to content

Commit

Permalink
demmt: fix decoding of IB entry size
Browse files Browse the repository at this point in the history
  • Loading branch information
mslusarz committed Jul 5, 2014
1 parent bcfaf4b commit 30fc4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rnn/demmt_pushbuf.c
Expand Up @@ -339,7 +339,7 @@ void ib_decode(struct ib_decode_state *state, uint32_t data, char *output)
{
int i;

state->address |= data & 0xff;
state->address |= ((uint64_t)(data & 0xff)) << 32;
state->unk8 = (data >> 8) & 0x1;
state->not_main = (data >> 9) & 0x1;
state->size = (data & 0x7fffffff) >> 10;
Expand Down

0 comments on commit 30fc4a1

Please sign in to comment.