Prefetch byteswapped opcodes in ppu interpreter

This commit is contained in:
eladash 2019-03-22 09:58:04 +02:00 committed by Ivan
parent 1c462abc37
commit b307aff9eb
3 changed files with 52 additions and 61 deletions

View file

@ -364,7 +364,7 @@ namespace vm
if (flags & page_executable)
{
utils::memory_commit(g_exec_addr + addr, size);
utils::memory_commit(g_exec_addr + addr * 2, size * 2);
}
if (g_cfg.core.ppu_debug)
@ -494,7 +494,7 @@ namespace vm
if (is_exec)
{
utils::memory_decommit(g_exec_addr + addr, size);
utils::memory_decommit(g_exec_addr + addr * 2, size * 2);
}
if (g_cfg.core.ppu_debug)