mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-19 15:51:45 +00:00
PageAllocator: fix allocation unit to correct value
This commit is contained in:
1 parent
f2fde2db12
commit
fbb856702f
1 file changed
+1
-1
@@ -26,7 +26,7 @@ internal abstract class PageAllocator
|
||||
/// <summary>
|
||||
/// Allocation granularity on Windows (but can be reused in other implementations).
|
||||
/// </summary>
|
||||
protected const int ALLOCATION_UNIT = 0x100000;
|
||||
protected const int ALLOCATION_UNIT = 0x10000;
|
||||
|
||||
protected const int PAGES_PER_UNIT = ALLOCATION_UNIT / PAGE_SIZE;
|
||||
|
||||
|
||||
Reference in new issue
Block a user