Skip to content

Commit

Permalink
Fix the register signedness in the stable version of ppc32_exec_DIVW.
Browse files Browse the repository at this point in the history
Fixes #246
  • Loading branch information
flaviojs committed Oct 6, 2024
1 parent 2a51a8a commit 8697d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stable/ppc32_exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ static fastcall int ppc32_exec_DIVW(cpu_ppc_t *cpu,ppc_insn_t insn)
int rd = bits(insn,21,25);
int ra = bits(insn,16,20);
int rb = bits(insn,11,15);
register m_uint32_t a,b;
register m_int32_t a,b;

a = (m_int32_t)cpu->gpr[ra];
b = (m_int32_t)cpu->gpr[rb];
Expand Down

0 comments on commit 8697d11

Please sign in to comment.