mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 07:25:26 +00:00
[rpcsx-gpu] Implemented swapchain
This commit is contained in:
parent
2ab5cfb1f3
commit
1e733facaa
8 changed files with 698 additions and 490 deletions
|
|
@ -609,13 +609,9 @@ void rx::vm::initialize() {
|
|||
std::abort();
|
||||
}
|
||||
|
||||
std::uintptr_t virtualAddressStart = 0x40'0000;
|
||||
std::uintptr_t virtualAddressEnd = 0xff'ffff'ffff;
|
||||
reserve(0, kMinAddress); // unmapped area
|
||||
|
||||
reserve(0, virtualAddressStart); // unmapped area
|
||||
|
||||
utils::reserve(reinterpret_cast<void *>(virtualAddressStart),
|
||||
virtualAddressEnd - virtualAddressStart + 1);
|
||||
utils::reserve(reinterpret_cast<void *>(kMinAddress), kMaxAddress - kMinAddress);
|
||||
|
||||
// orbis::bridge.setUpSharedMemory(kMinAddress, kMemorySize, "/orbis-memory");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue