mirror of
https://github.com/reactos/wine.git
synced 2025-02-27 16:26:08 +00:00
ntdll/tests: Make sure to clear the DF flag on return from the exception.
This commit is contained in:
parent
13e609fdb3
commit
bb4119e1fd
@ -503,6 +503,7 @@ static DWORD direction_flag_handler( EXCEPTION_RECORD *rec, EXCEPTION_REGISTRATI
|
||||
ok( context->EFlags & 0x400, "context eflags has DF bit cleared\n" );
|
||||
got_exception++;
|
||||
context->Eip++; /* skip cli */
|
||||
context->EFlags &= ~0x400; /* make sure it is cleared on return */
|
||||
return ExceptionContinueExecution;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user