mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
Clang
This commit is contained in:
parent
1dcdc53ca4
commit
fd3b035136
@ -215,7 +215,7 @@ int MemoryManager::PoolReserve(void** out_addr, VAddr virtual_addr, size_t size,
|
|||||||
std::scoped_lock lk{mutex};
|
std::scoped_lock lk{mutex};
|
||||||
alignment = alignment > 0 ? alignment : 2_MB;
|
alignment = alignment > 0 ? alignment : 2_MB;
|
||||||
VAddr min_address = Common::AlignUp(impl.SystemManagedVirtualBase(), alignment);
|
VAddr min_address = Common::AlignUp(impl.SystemManagedVirtualBase(), alignment);
|
||||||
VAddr mapped_addr = Common::AlignUp(virtual_addr, alignment);
|
VAddr mapped_addr = Common::AlignUp(virtual_addr, alignment);
|
||||||
|
|
||||||
// Fixed mapping means the virtual address must exactly match the provided one.
|
// Fixed mapping means the virtual address must exactly match the provided one.
|
||||||
if (True(flags & MemoryMapFlags::Fixed)) {
|
if (True(flags & MemoryMapFlags::Fixed)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user