Skip to content

Commit

Permalink
And 386.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 authored Jan 14, 2024
1 parent 55f03f6 commit b884ef8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpu/386.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ exec386_2386(int32_t cycs)
x86gen(); /* This is supposed to be the first one serviced by the processor according to the manual. */
} else if (trap) {
flags_rebuild();
if (trap != 4)
dr[6] |= (trap == 2) ? 0x8000 : 0x4000;
if (trap & 2) dr[6] |= 0x8000;
if (trap & 1) dr[6] |= 0x4000;
trap = 0;
#ifndef USE_NEW_DYNAREC
oldcs = CS;
Expand Down

0 comments on commit b884ef8

Please sign in to comment.