mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-24 12:25:00 +00:00
progress in relocations
This commit is contained in:
parent
6717482662
commit
0edc265dc2
3 changed files with 69 additions and 11 deletions
|
@ -33,7 +33,6 @@ namespace Memory
|
|||
|
||||
u64 memory_alloc(u64 address, u64 size, MemoryMode mode)
|
||||
{
|
||||
//TODO it supports only execute_read_write mode
|
||||
#ifdef _WIN64
|
||||
auto ptr = reinterpret_cast<uintptr_t>(VirtualAlloc(reinterpret_cast<LPVOID>(static_cast<uintptr_t>(address)),
|
||||
size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue