Fix formatting

This commit is contained in:
Borchev 2024-07-21 12:35:01 -07:00
parent f556f85279
commit 5419212088
2 changed files with 4 additions and 3 deletions

View File

@ -216,7 +216,8 @@ int PS4_SYSV_ABI sceKernelGetDirectMemoryType(u64 addr, int* directMemoryTypeOut
void** directMemoryEndOut) {
LOG_WARNING(Kernel_Vmm, "called, direct memory addr = {:#x}", addr);
auto* memory = Core::Memory::Instance();
return memory->GetDirectMemoryType(addr, directMemoryTypeOut, directMemoryStartOut, directMemoryEndOut);
return memory->GetDirectMemoryType(addr, directMemoryTypeOut, directMemoryStartOut,
directMemoryEndOut);
}
} // namespace Libraries::Kernel

View File

@ -506,8 +506,8 @@ void MemoryManager::UnmapVulkanMemory(VAddr addr, size_t size) {
mapped_memories.erase(it);
}
int MemoryManager::GetDirectMemoryType(PAddr addr, int* directMemoryTypeOut, void** directMemoryStartOut,
void** directMemoryEndOut) {
int MemoryManager::GetDirectMemoryType(PAddr addr, int* directMemoryTypeOut,
void** directMemoryStartOut, void** directMemoryEndOut) {
std::scoped_lock lk{mutex};
auto dmem_area = FindDmemArea(addr);