early-access version 1636

This commit is contained in:
pineappleEA
2021-04-27 00:29:02 +02:00
parent 42500628e7
commit 3f11b136b7
31 changed files with 276 additions and 101 deletions

View File

@@ -36,6 +36,10 @@ std::shared_ptr<TransferMemory> TransferMemory::Create(KernelCore& kernel,
return transfer_memory;
}
u8* TransferMemory::GetPointer() {
return memory.GetPointer(base_address);
}
const u8* TransferMemory::GetPointer() const {
return memory.GetPointer(base_address);
}

View File

@@ -56,6 +56,9 @@ public:
return HANDLE_TYPE;
}
/// Gets a pointer to the backing block of this instance.
u8* GetPointer();
/// Gets a pointer to the backing block of this instance.
const u8* GetPointer() const;