Do not raise CPU trap if an exception has occurred, fixes #2577.

This commit is contained in:
OBattler
2022-10-28 04:12:31 +02:00
parent cb13ca526a
commit 535b19a027
2 changed files with 10 additions and 12 deletions

View File

@@ -398,7 +398,7 @@ exec386_dynarec_int(void)
CPU_BLOCK_END();
}
if (trap) {
if (!cpu_state.abrt && trap) {
trap = 0;
#ifndef USE_NEW_DYNAREC
oldcs = CS;