pcsx2-ee: properly set the running variable

Fix exception propagation. Behavior is now equivalent to Windows.
This commit is contained in:
Gregory Hainaut 2015-10-28 13:47:52 +01:00
parent 2194685d76
commit 17e3c570ba
2 changed files with 1 additions and 6 deletions

View File

@ -410,13 +410,7 @@ static __ri void vtlb_Miss(u32 addr,u32 mode)
throw Exception::CancelInstruction();
}
// The exception terminate the program on linux which is very annoying
// Just disable it for the moment
#ifdef __linux__
if (0)
#else
if( IsDevBuild )
#endif
Cpu->ThrowCpuException( R5900Exception::TLBMiss( addr, !!mode ) );
else
{

View File

@ -837,6 +837,7 @@ static void recExecute()
if( !setjmp( m_SetJmp_StateCheck ) )
{
eeRecIsReset = false;
ScopedBool executing(eeCpuExecuting);
// Important! Most of the console logging and such has cancel points in it. This is great
// in Windows, where SEH lets us safely kill a thread from anywhere we want. This is bad