mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
Avoid empty resume output when using PPU debug option
This commit is contained in:
parent
3f02935844
commit
7baf959975
@ -2067,7 +2067,7 @@ void Emulator::Resume()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Print and reset debug data collected
|
// Print and reset debug data collected
|
||||||
if (g_cfg.core.ppu_debug)
|
if (g_cfg.core.ppu_decoder == ppu_decoder_type::_static && g_cfg.core.ppu_debug)
|
||||||
{
|
{
|
||||||
PPUDisAsm dis_asm(cpu_disasm_mode::dump, vm::g_sudo_addr);
|
PPUDisAsm dis_asm(cpu_disasm_mode::dump, vm::g_sudo_addr);
|
||||||
|
|
||||||
@ -2092,7 +2092,10 @@ void Emulator::Resume()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ppu_log.notice("[RESUME] Dumping instruction stats:%s", dump);
|
if (!dump.empty())
|
||||||
|
{
|
||||||
|
ppu_log.notice("[RESUME] Dumping instruction stats:%s", dump);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try to resume
|
// Try to resume
|
||||||
|
Loading…
x
Reference in New Issue
Block a user