mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-12 03:56:26 +00:00
ee: add a comment on setjmp/longjmp behavior
This commit is contained in:
parent
5761eba529
commit
1f374e4b92
@ -810,6 +810,9 @@ static void recExecute()
|
||||
m_cpuException = NULL;
|
||||
m_Exception = NULL;
|
||||
|
||||
// setjmp will save the register context and will return 0
|
||||
// A call to longjmp will restore the context (included the eip/rip)
|
||||
// but will return the longjmp 2nd parameter (here 1)
|
||||
if( !setjmp( m_SetJmp_StateCheck ) )
|
||||
{
|
||||
eeRecIsReset = false;
|
||||
|
Loading…
Reference in New Issue
Block a user