[rpcsx-gpu] Implemented swapchain

This commit is contained in:
DH 2023-06-25 16:54:49 +03:00
parent 2ab5cfb1f3
commit 1e733facaa
8 changed files with 698 additions and 490 deletions

View file

@ -6,7 +6,7 @@ struct RemoteMemory {
char *shmPointer;
template <typename T = void> T *getPointer(std::uint64_t address) const {
return address ? reinterpret_cast<T *>(shmPointer + address) : nullptr;
return address ? reinterpret_cast<T *>(shmPointer + address - 0x40000) : nullptr;
}
};
} // namespace amdgpu