mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
PPU LLVM: paradigm shift
For now, compile only one block at time Use tail calls to move between blocks Fully write PPU context (except CIA) This fixes many compatibility problems
This commit is contained in:
parent
a29d7d3962
commit
aea094730b
13 changed files with 1076 additions and 856 deletions
|
@ -348,7 +348,8 @@ namespace vm
|
|||
}
|
||||
}
|
||||
|
||||
void* real_addr = vm::base(addr);
|
||||
void* real_addr = g_base_addr + addr;
|
||||
void* exec_addr = g_exec_addr + addr;
|
||||
|
||||
#ifdef _WIN32
|
||||
auto protection = flags & page_writable ? PAGE_READWRITE : (flags & page_readable ? PAGE_READONLY : PAGE_NOACCESS);
|
||||
|
@ -455,7 +456,8 @@ namespace vm
|
|||
}
|
||||
}
|
||||
|
||||
void* real_addr = vm::base(addr);
|
||||
void* real_addr = g_base_addr + addr;
|
||||
void* exec_addr = g_exec_addr + addr;
|
||||
|
||||
#ifdef _WIN32
|
||||
verify(__func__), ::VirtualFree(real_addr, size, MEM_DECOMMIT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue