Common: Add MemArena.h/cpp to the Common namespace

Brings more common code under the Common namespace.
This commit is contained in:
Lioncash
2018-05-15 17:28:41 -04:00
parent 51ce30e09d
commit 947fa271be
3 changed files with 10 additions and 3 deletions

View File

@ -44,7 +44,7 @@ u8* physical_base = nullptr;
u8* logical_base = nullptr;
// The MemArena class
static MemArena g_arena;
static Common::MemArena g_arena;
// ==============
// STATE_TO_SAVE
@ -190,7 +190,7 @@ void Init()
mem_size += region.size;
}
g_arena.GrabSHMSegment(mem_size);
physical_base = MemArena::FindMemoryBase();
physical_base = Common::MemArena::FindMemoryBase();
for (PhysicalMemoryRegion& region : physical_regions)
{