aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Memory/AMemory.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-02-27 20:45:07 -0300
committergdkchan <gab.dark.100@gmail.com>2018-02-27 20:45:07 -0300
commitf876bd2a805805d9e5dc350b65e8d02fbc5b88b5 (patch)
tree7a3af73448166b628526028cb35d09cc8a010eac /ChocolArm64/Memory/AMemory.cs
parent708761963e09ceb4619f8f21fffc7af051a8f020 (diff)
Change SvcGetInfo 5 to return actual heap size, remove AMemoryAlloc since it is no longer needed with direct memory access, move some memory management logic out of AMemoryMgr, change default virtual filesystem path to AppData
Diffstat (limited to 'ChocolArm64/Memory/AMemory.cs')
-rw-r--r--ChocolArm64/Memory/AMemory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ChocolArm64/Memory/AMemory.cs b/ChocolArm64/Memory/AMemory.cs
index f2abffbf..0d202fed 100644
--- a/ChocolArm64/Memory/AMemory.cs
+++ b/ChocolArm64/Memory/AMemory.cs
@@ -41,9 +41,9 @@ namespace ChocolArm64.Memory
private byte* RamPtr;
- public AMemory(IntPtr Ram, AMemoryAlloc Allocator)
+ public AMemory(IntPtr Ram)
{
- Manager = new AMemoryMgr(Allocator);
+ Manager = new AMemoryMgr();
Monitors = new Dictionary<int, ExMonitor>();