mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
Clang
This commit is contained in:
parent
871804b70b
commit
b0fc6084da
@ -212,8 +212,9 @@ int PS4_SYSV_ABI sceKernelMapDirectMemory(void** addr, u64 len, int prot, int fl
|
||||
s32 PS4_SYSV_ABI sceKernelMapDirectMemory2(void** addr, u64 len, s32 type, s32 prot, s32 flags,
|
||||
s64 phys_addr, u64 alignment) {
|
||||
LOG_INFO(Kernel_Vmm, "called, redirected to sceKernelMapNamedDirectMemory");
|
||||
const s32 ret = sceKernelMapNamedDirectMemory(addr, len, prot, flags, phys_addr, alignment, "anon");
|
||||
|
||||
const s32 ret =
|
||||
sceKernelMapNamedDirectMemory(addr, len, prot, flags, phys_addr, alignment, "anon");
|
||||
|
||||
if (ret == 0) {
|
||||
auto* memory = Core::Memory::Instance();
|
||||
memory->SetDirectMemoryType(phys_addr, type);
|
||||
|
Loading…
Reference in New Issue
Block a user