mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
Increase AsmCommon code space to fix crashes on Linux systems.
Revision b058bbd
was causing the AsmCommon routines to overrun the code
buffer allocated for it. According to Fiora, it happens only on Linux
because of the fact that Linux has more caller-save registers than other
platforms.
This commit is contained in:
parent
c2bdcbe71c
commit
390ec6977c
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ public:
|
|||
void Init(u8* 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();
|
||||
WriteProtect();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue