use _alloca

This commit is contained in:
Ced2911 2013-08-17 16:44:35 +02:00
parent c98090e095
commit 3350061197

View File

@ -10,6 +10,7 @@
#include "ppcEmitter.h"
#include "PpcJit.h"
#include <malloc.h>
#include <ppcintrinsics.h>
using namespace PpcGen;
@ -186,7 +187,7 @@ Jit::Jit(MIPSState *mips) : blocks(mips, this), gpr(mips, &jo),mips_(mips)
void Jit::RunLoopUntil(u64 globalticks) {
#ifdef _XBOX
// force stack alinement
//_alloca(8*1024);
_alloca(16*1024);
#endif
// Run the compiled code