mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Merge pull request #1896 from johnwchadwick/asmcommon-larger-codespace
Increase AsmCommon code space to fix crashes on Linux systems.
This commit is contained in:
commit
37a770bb9f
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue