mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
SPU debugger: Implement MFC journal
* Allow to dump up to 1820 commands with up 128 bytes of data each, using key D with the debugger.
This commit is contained in:
parent
d0edd44a69
commit
004ebfdaee
13 changed files with 222 additions and 20 deletions
|
|
@ -740,13 +740,13 @@ namespace vm
|
|||
|
||||
if (flags & page_executable)
|
||||
{
|
||||
// TODO
|
||||
// TODO (dead code)
|
||||
utils::memory_commit(g_exec_addr + addr * 2, size * 2);
|
||||
}
|
||||
|
||||
if (g_cfg.core.ppu_debug)
|
||||
{
|
||||
utils::memory_commit(g_stat_addr + addr, size);
|
||||
if (g_cfg.core.ppu_debug)
|
||||
{
|
||||
utils::memory_commit(g_stat_addr + addr, size);
|
||||
}
|
||||
}
|
||||
|
||||
for (u32 i = addr / 4096; i < addr / 4096 + size / 4096; i++)
|
||||
|
|
@ -926,11 +926,11 @@ namespace vm
|
|||
if (is_exec)
|
||||
{
|
||||
utils::memory_decommit(g_exec_addr + addr * 2, size * 2);
|
||||
}
|
||||
|
||||
if (g_cfg.core.ppu_debug)
|
||||
{
|
||||
utils::memory_decommit(g_stat_addr + addr, size);
|
||||
if (g_cfg.core.ppu_debug)
|
||||
{
|
||||
utils::memory_decommit(g_stat_addr + addr, size);
|
||||
}
|
||||
}
|
||||
|
||||
// Unlock
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue