arm7rec: Increase the emitter guarantee to 64 KB

I run into this with the x86-arm-arm7 backend because of per-block compile and largeish blocks
This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis 2015-08-10 04:55:15 +02:00
parent b53b303c89
commit f2d8ed06f5
1 changed files with 2 additions and 1 deletions

View File

@ -2114,8 +2114,9 @@ s32 ARM::imma;
void armEmit32(u32 emit32)
{
if (icPtr >= (ICache+ICacheSize-1024))
if (icPtr >= (ICache + ICacheSize - 64*1024)) {
die("ICache is full, invalidate old entries ..."); //ifdebug
}
x86e->Emit(op_mov32,ECX,emit32);
x86e->Emit(op_call,x86_ptr_imm(virt_arm_op));