Merge pull request #718 from cxd4/rsp-recompiler
[RSP] Execute recompiler CPU without SEH for non-MSVC.
This commit is contained in:
commit
d21f91e81a
|
@ -904,8 +904,9 @@ DWORD RunRecompilerCPU ( DWORD Cycles ) {
|
||||||
StartTimer((DWORD)Timer_Compiling);
|
StartTimer((DWORD)Timer_Compiling);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(&RspCode, 0, sizeof(RspCode));
|
||||||
|
#if defined(_MSC_VER)
|
||||||
__try {
|
__try {
|
||||||
memset(&RspCode, 0, sizeof(RspCode));
|
|
||||||
BuildBranchLabels();
|
BuildBranchLabels();
|
||||||
DetectGPRConstants(&RspCode);
|
DetectGPRConstants(&RspCode);
|
||||||
CompilerRSPBlock();
|
CompilerRSPBlock();
|
||||||
|
@ -914,6 +915,11 @@ DWORD RunRecompilerCPU ( DWORD Cycles ) {
|
||||||
ClearAllx86Code();
|
ClearAllx86Code();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
BuildBranchLabels();
|
||||||
|
DetectGPRConstants(&RspCode);
|
||||||
|
CompilerRSPBlock();
|
||||||
|
#endif
|
||||||
|
|
||||||
Block = *(JumpTable + (*PrgCount >> 2));
|
Block = *(JumpTable + (*PrgCount >> 2));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue