Merge pull request #312 from Borchev/main

Add sceKernelGetDirectMemoryType, update sceKernelReserveVirtualRange
This commit is contained in:
georgemoralis
2024-07-21 22:52:50 +03:00
committed by GitHub
5 changed files with 53 additions and 2 deletions

View File

@@ -166,6 +166,9 @@ public:
std::pair<vk::Buffer, size_t> GetVulkanBuffer(VAddr addr);
int GetDirectMemoryType(PAddr addr, int* directMemoryTypeOut, void** directMemoryStartOut,
void** directMemoryEndOut);
private:
VMAHandle FindVMA(VAddr target) {
return std::prev(vma_map.upper_bound(target));