mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 17:47:42 +00:00
some CMemory additions
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
#ifndef __RETRO_CMEMORY_HPP__
|
||||
#define __RETRO_CMEMORY_HPP__
|
||||
|
||||
#include "IAllocator.hpp"
|
||||
|
||||
namespace Retro
|
||||
{
|
||||
class IAllocator;
|
||||
class COsContext;
|
||||
|
||||
class CMemory
|
||||
@@ -12,6 +13,10 @@ public:
|
||||
static void Startup(COsContext&);
|
||||
static void Shutdown();
|
||||
static void SetAllocator(COsContext&, IAllocator&);
|
||||
static void OffsetFakeStatics(int);
|
||||
static void SetOutOfMemoryCallback(const IAllocator::TOutOfMemoryCallback, void*);
|
||||
static void Free(void*);
|
||||
static void* Alloc(u32, IAllocator::EHint, IAllocator::EScope, IAllocator::EType, const CCallStack&);
|
||||
};
|
||||
|
||||
class CMemorySys
|
||||
|
||||
Reference in New Issue
Block a user