mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Cleanup disasm classes a bit
This commit is contained in:
parent
e449111c33
commit
ef884642e4
13 changed files with 28 additions and 38 deletions
|
@ -1807,8 +1807,7 @@ void Emulator::Resume()
|
|||
// Print and reset debug data collected
|
||||
if (m_state == system_state::paused && g_cfg.core.ppu_debug)
|
||||
{
|
||||
PPUDisAsm dis_asm(CPUDisAsm_DumpMode);
|
||||
dis_asm.offset = vm::g_sudo_addr;
|
||||
PPUDisAsm dis_asm(CPUDisAsm_DumpMode, vm::g_sudo_addr);
|
||||
|
||||
std::string dump;
|
||||
|
||||
|
@ -1818,7 +1817,6 @@ void Emulator::Resume()
|
|||
{
|
||||
if (auto& data = *reinterpret_cast<be_t<u32>*>(vm::g_stat_addr + i))
|
||||
{
|
||||
dis_asm.dump_pc = i;
|
||||
dis_asm.disasm(i);
|
||||
fmt::append(dump, "\n\t'%08X' %s", data, dis_asm.last_opcode);
|
||||
data = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue