proper memswap mechanism

This commit is contained in:
lizzie 2025-12-08 03:08:25 +00:00
parent 9033c5fceb
commit 51e4e1ca32
4 changed files with 86 additions and 30 deletions

View file

@ -12,7 +12,7 @@ namespace Common {
void* AllocateMemoryPages(std::size_t size) noexcept;
void FreeMemoryPages(void* base, std::size_t size) noexcept;
bool InitSwap() noexcept;
void InitSwap() noexcept;
template <typename T>
class VirtualBuffer final {