[RSP] Execute recompiler CPU without SEH for non-MSVC.

This commit is contained in:
unknown 2015-10-29 21:52:48 -04:00
parent ff904a0f3e
commit 061f69b6f3
1 changed files with 6 additions and 0 deletions

View File

@ -905,6 +905,7 @@ DWORD RunRecompilerCPU ( DWORD Cycles ) {
} }
memset(&RspCode, 0, sizeof(RspCode)); memset(&RspCode, 0, sizeof(RspCode));
#if defined(_MSC_VER)
__try { __try {
BuildBranchLabels(); BuildBranchLabels();
DetectGPRConstants(&RspCode); DetectGPRConstants(&RspCode);
@ -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));