mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
[rpcsx-gpu] Implemented swapchain
This commit is contained in:
parent
2ab5cfb1f3
commit
1e733facaa
8 changed files with 698 additions and 490 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue