Support CopyTo now

This commit is contained in:
Jaby
2023-03-27 22:20:42 +02:00
parent 0add2f5794
commit bdceb88fd0
4 changed files with 91 additions and 27 deletions

View File

@@ -44,6 +44,10 @@ namespace JabyEngine {
return SectorBufferAllocator(obj, function);
}
static constexpr SectorBufferAllocator invalid() {
return SectorBufferAllocator(nullptr, nullptr);
}
inline CD_IO::DataSector* allocate_sector() const {
return this->allocate(this->ctx);
}