mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 19:22:22 +01:00
<feat: New project structure>
<feat: New release>
This commit is contained in:
20
dependencies/reboot/Project Reboot 3.0/inc.cpp
vendored
Normal file
20
dependencies/reboot/Project Reboot 3.0/inc.cpp
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "inc.h"
|
||||
|
||||
#include "Array.h"
|
||||
|
||||
/*
|
||||
|
||||
void* InstancedAllocator::Allocate(AllocatorType type, size_t Size)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case AllocatorType::VIRTUALALLOC:
|
||||
return VirtualAlloc(0, Size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
|
||||
case AllocatorType::FMEMORY:
|
||||
return FMemory::Realloc(0, Size, 0);
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
*/
|
||||
Reference in New Issue
Block a user