mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 14:53:18 +00:00
Allocate more system reserved space on macOS and document restrictions.
This commit is contained in:
parent
615f4e770f
commit
70708fc69b
2 changed files with 8 additions and 3 deletions
|
@ -24,8 +24,8 @@ constexpr VAddr SYSTEM_MANAGED_MIN = 0x00000400000ULL;
|
|||
constexpr VAddr SYSTEM_MANAGED_MAX = 0x07FFFFBFFFULL;
|
||||
constexpr VAddr SYSTEM_RESERVED_MIN = 0x800000000ULL;
|
||||
#ifdef __APPLE__
|
||||
// Can only comfortably reserve the first 0x700000000 of reserved space.
|
||||
constexpr VAddr SYSTEM_RESERVED_MAX = 0xEFFFFFFFFULL;
|
||||
// Can only comfortably reserve the first 0x7C0000000 of system reserved space.
|
||||
constexpr VAddr SYSTEM_RESERVED_MAX = 0xFBFFFFFFFULL;
|
||||
#else
|
||||
constexpr VAddr SYSTEM_RESERVED_MAX = 0xFFFFFFFFFULL;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue