mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-10 16:27:41 +00:00
main: Add EnsureWorldPakReady
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user