Fix formatting
This commit is contained in:
parent
f556f85279
commit
5419212088
|
@ -216,7 +216,8 @@ int PS4_SYSV_ABI sceKernelGetDirectMemoryType(u64 addr, int* directMemoryTypeOut
|
||||||
void** directMemoryEndOut) {
|
void** directMemoryEndOut) {
|
||||||
LOG_WARNING(Kernel_Vmm, "called, direct memory addr = {:#x}", addr);
|
LOG_WARNING(Kernel_Vmm, "called, direct memory addr = {:#x}", addr);
|
||||||
auto* memory = Core::Memory::Instance();
|
auto* memory = Core::Memory::Instance();
|
||||||
return memory->GetDirectMemoryType(addr, directMemoryTypeOut, directMemoryStartOut, directMemoryEndOut);
|
return memory->GetDirectMemoryType(addr, directMemoryTypeOut, directMemoryStartOut,
|
||||||
|
directMemoryEndOut);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Libraries::Kernel
|
} // namespace Libraries::Kernel
|
||||||
|
|
|
@ -506,8 +506,8 @@ void MemoryManager::UnmapVulkanMemory(VAddr addr, size_t size) {
|
||||||
mapped_memories.erase(it);
|
mapped_memories.erase(it);
|
||||||
}
|
}
|
||||||
|
|
||||||
int MemoryManager::GetDirectMemoryType(PAddr addr, int* directMemoryTypeOut, void** directMemoryStartOut,
|
int MemoryManager::GetDirectMemoryType(PAddr addr, int* directMemoryTypeOut,
|
||||||
void** directMemoryEndOut) {
|
void** directMemoryStartOut, void** directMemoryEndOut) {
|
||||||
std::scoped_lock lk{mutex};
|
std::scoped_lock lk{mutex};
|
||||||
|
|
||||||
auto dmem_area = FindDmemArea(addr);
|
auto dmem_area = FindDmemArea(addr);
|
||||||
|
|
Loading…
Reference in New Issue