mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01: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
@ -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…
x
Reference in New Issue
Block a user