Fastmem: increase the size of trampoline cache in MMU mode, check space

Fastmem in MMU mode generates way more trampolines than normal, so we need
a bunch more space too, lest we run out of room.
This commit is contained in:
Fiora committed 2015-01-05 10:46:01 -08:00
1 parent 1ee83e332e
commit 3d2492627f
5 files changed
+13 -8

No files matched your search

+1 -1
View File
@@ -249,7 +249,7 @@ void JitIL::Init()
jo.accurateSinglePrecision = false;
js.memcheck = SConfig::GetInstance().m_LocalCoreStartupParameter.bMMU;
trampolines.Init();
trampolines.Init(js.memcheck ? TRAMPOLINE_CODE_SIZE_MMU : TRAMPOLINE_CODE_SIZE);
AllocCodeSpace(CODE_SIZE);
blocks.Init();
asm_routines.Init(nullptr);