2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 17:47:42 +00:00

several core runtime stubs added

This commit is contained in:
Jack Andersen
2015-08-16 19:26:58 -10:00
parent 53256dea15
commit 387332ed70
38 changed files with 373 additions and 6 deletions

23
Runtime/CMemory.hpp Normal file
View File

@@ -0,0 +1,23 @@
#ifndef __RETRO_CMEMORY_HPP__
#define __RETRO_CMEMORY_HPP__
#include "IAllocator.hpp"
#include "COsContext.hpp"
class CMemory
{
public:
static void Startup(COsContext&);
static void Shutdown();
static void SetAllocator(COsContext&, IAllocator&);
};
class CMemorySys
{
public:
CMemorySys(COsContext&, IAllocator&);
~CMemorySys();
static IAllocator* GetGameAllocator();
};
#endif // __RETRO_CMEMORY_HPP__