Common: Namespace GekkoDisassembler.cpp/.h

Moves more common code into the Common namespace where it belongs
This commit is contained in:
Lioncash
2018-05-25 16:29:56 -04:00
parent 3d44dc3981
commit b60ad2425d
10 changed files with 20 additions and 12 deletions

View File

@ -163,7 +163,7 @@ void JITWidget::Update()
for (u32 i = 0; i < code_block.m_num_instructions; i++)
{
const PPCAnalyst::CodeOp& op = code_buffer[i];
std::string opcode = GekkoDisassembler::Disassemble(op.inst.hex, op.address);
const std::string opcode = Common::GekkoDisassembler::Disassemble(op.inst.hex, op.address);
ppc_disasm << std::setfill('0') << std::setw(8) << std::hex << op.address;
ppc_disasm << " " << opcode << std::endl;
}