mirror of https://github.com/PCSX2/pcsx2.git
pcsx2-ee: properly set the running variable
Fix exception propagation. Behavior is now equivalent to Windows.
This commit is contained in:
parent
2194685d76
commit
17e3c570ba
|
@ -410,13 +410,7 @@ static __ri void vtlb_Miss(u32 addr,u32 mode)
|
||||||
throw Exception::CancelInstruction();
|
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 )
|
if( IsDevBuild )
|
||||||
#endif
|
|
||||||
Cpu->ThrowCpuException( R5900Exception::TLBMiss( addr, !!mode ) );
|
Cpu->ThrowCpuException( R5900Exception::TLBMiss( addr, !!mode ) );
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -837,6 +837,7 @@ static void recExecute()
|
||||||
if( !setjmp( m_SetJmp_StateCheck ) )
|
if( !setjmp( m_SetJmp_StateCheck ) )
|
||||||
{
|
{
|
||||||
eeRecIsReset = false;
|
eeRecIsReset = false;
|
||||||
|
ScopedBool executing(eeCpuExecuting);
|
||||||
|
|
||||||
// Important! Most of the console logging and such has cancel points in it. This is great
|
// 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
|
// in Windows, where SEH lets us safely kill a thread from anywhere we want. This is bad
|
||||||
|
|
Loading…
Reference in New Issue