mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
Add initial macOS support.
This commit is contained in:
@@ -132,6 +132,11 @@ public:
|
||||
return total_flexible_size - flexible_usage;
|
||||
}
|
||||
|
||||
/// Returns the offset of the mapped virtual memory base from where it usually would be mapped.
|
||||
[[nodiscard]] u64 VirtualOffset() noexcept {
|
||||
return impl.VirtualBase() - SYSTEM_MANAGED_MIN;
|
||||
}
|
||||
|
||||
PAddr Allocate(PAddr search_start, PAddr search_end, size_t size, u64 alignment,
|
||||
int memory_type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user