mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
ppu disasm: Improve disassembly of BCTR and LWSYNC
This commit is contained in:
parent
a44b1018b5
commit
2c47e39f08
1 changed files with 6 additions and 1 deletions
|
@ -1005,6 +1005,11 @@ void PPUDisAsm::BCCTR(ppu_opcode_t op)
|
||||||
const u32 bi = op.bi;
|
const u32 bi = op.bi;
|
||||||
const u32 bh = op.bh;
|
const u32 bh = op.bh;
|
||||||
|
|
||||||
|
if (bo == 20)
|
||||||
|
{
|
||||||
|
return Write(op.lk ? "bctrl" : "bctr");
|
||||||
|
}
|
||||||
|
|
||||||
switch (op.lk)
|
switch (op.lk)
|
||||||
{
|
{
|
||||||
case 0: DisAsm_INT3("bcctr", bo, bi, bh); break;
|
case 0: DisAsm_INT3("bcctr", bo, bi, bh); break;
|
||||||
|
@ -1664,7 +1669,7 @@ void PPUDisAsm::LFSUX(ppu_opcode_t op)
|
||||||
|
|
||||||
void PPUDisAsm::SYNC(ppu_opcode_t op)
|
void PPUDisAsm::SYNC(ppu_opcode_t op)
|
||||||
{
|
{
|
||||||
Write("sync");
|
Write(op.l10 ? "lwsync" : "sync");
|
||||||
}
|
}
|
||||||
|
|
||||||
void PPUDisAsm::LFDX(ppu_opcode_t op)
|
void PPUDisAsm::LFDX(ppu_opcode_t op)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue