main: Add EnsureWorldPakReady

This commit is contained in:
2022-04-11 18:42:08 -04:00
parent 7a95698329
commit 292dfa1eea
15 changed files with 119 additions and 54 deletions

View File

@@ -8,8 +8,8 @@
namespace rstl {
struct rmemory_allocator {
template < typename T >
static void allocate(T*& out, size_t count) {
out = new T[count];
static void allocate(T*& out, size_t sz) {
out = reinterpret_cast< T* >(new u8[sz]);
}
template < typename T >
static void deallocate(T* ptr) {