Merge pull request #1896 from johnwchadwick/asmcommon-larger-codespace

Increase AsmCommon code space to fix crashes on Linux systems.
This commit is contained in:
skidau 2015-01-18 15:22:31 +11:00
commit 37a770bb9f
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,9 @@ public:
void Init(u8* stack_top) void Init(u8* stack_top)
{ {
m_stack_top = stack_top; m_stack_top = stack_top;
AllocCodeSpace(8192); // NOTE: When making large additions to the AsmCommon code, you might
// want to ensure this number is big enough.
AllocCodeSpace(16384);
Generate(); Generate();
WriteProtect(); WriteProtect();
} }