Skip to content

Commit

Permalink
[EMU] Set segment to be 16bits
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Dec 8, 2023
1 parent d91ac13 commit 1c3c3a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/emu/x86emu_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ typedef struct x86emu_s {
uintptr_t prev2_ip, prev_ip;
#endif
// segments
uint32_t segs[6]; // only 32bits value?
uint16_t segs[6];
uint16_t dummy_seg6, dummy_seg7; // to stay aligned
uintptr_t segs_offs[6]; // computed offset associate with segment
uint32_t segs_serial[6]; // are seg offset clean (not 0) or does they need to be re-computed (0)? For GS, serial need to be the same as context->sel_serial
// emu control
Expand Down

0 comments on commit 1c3c3a2

Please sign in to comment.