2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 16:27:43 +00:00

Codebase refactor

This commit is contained in:
Jack Andersen
2015-08-18 12:51:54 -10:00
parent d17f2a5e78
commit 6809fcc4a4
94 changed files with 217 additions and 275 deletions

28
Runtime/CMemory.hpp Normal file
View File

@@ -0,0 +1,28 @@
#ifndef __RETRO_CMEMORY_HPP__
#define __RETRO_CMEMORY_HPP__
#include "IAllocator.hpp"
#include "COsContext.hpp"
namespace Retro
{
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__