Skip to content

Commit

Permalink
Fix arena allocator for OPCODE
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Dec 21, 2017
1 parent 63b9140 commit fca4cdc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Externals/OPCODE/pch.cpp
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
#include "pch.hpp"

#ifdef USE_ARENA_ALLOCATOR
static const u32 s_arena_size = (128 + 16) * 1024 * 1024;
static char s_fake_array[s_arena_size];
doug_lea_allocator g_collision_allocator(s_fake_array, s_arena_size, "opcode");
#endif // #ifdef USE_ARENA_ALLOCATOR

0 comments on commit fca4cdc

Please sign in to comment.