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);
|
||||
}
|
||||
|
||||
memset(&RspCode, 0, sizeof(RspCode));
|
||||
#if defined(_MSC_VER)
|
||||
__try {
|
||||
memset(&RspCode, 0, sizeof(RspCode));
|
||||
BuildBranchLabels();
|
||||
DetectGPRConstants(&RspCode);
|
||||
CompilerRSPBlock();
|
||||
|
@ -914,6 +915,11 @@ DWORD RunRecompilerCPU ( DWORD Cycles ) {
|
|||
ClearAllx86Code();
|
||||
continue;
|
||||
}
|
||||
#else
|
||||
BuildBranchLabels();
|
||||
DetectGPRConstants(&RspCode);
|
||||
CompilerRSPBlock();
|
||||
#endif
|
||||
|
||||
Block = *(JumpTable + (*PrgCount >> 2));
|
||||
|
||||
|
|
Loading…
Reference in New Issue